Added Control functoinalty on the DoorLock

This commit is contained in:
Mohammad Salameh
2024-04-29 11:38:11 +03:00
parent 6d720546f8
commit a12f006d63
4 changed files with 149 additions and 112 deletions

View File

@ -26,22 +26,15 @@ class AppLayout extends StatelessWidget {
),
child: SafeArea(
child: Scaffold(
backgroundColor: ColorsManager.backgroundColor,
extendBodyBehindAppBar: true,
extendBody: true,
appBar: HomeCubit.getInstance().spaces != null
? const DefaultAppBar()
: null,
body: const AppBody(),
bottomNavigationBar: const DefaultNavBar(),
floatingActionButton: FloatingActionButton(
onPressed: () {
Navigator.of(context).push(CustomPageRoute(
builder: (context) => const SmartLinkgeView()));
},
backgroundColor: ColorsManager.primaryColor,
child: const Icon(Icons.refresh),
)),
backgroundColor: ColorsManager.backgroundColor,
extendBodyBehindAppBar: true,
extendBody: true,
appBar: HomeCubit.getInstance().spaces != null
? const DefaultAppBar()
: null,
body: const AppBody(),
bottomNavigationBar: const DefaultNavBar(),
),
),
);
},