complete admin, mandor and user page

This commit is contained in:
kicap
2023-11-03 23:24:23 +08:00
parent 4cc9967ab8
commit 8eacfa6dee
41 changed files with 1335 additions and 492 deletions

View File

@ -38,10 +38,22 @@ class UserIndexView extends StatelessWidget {
backgroundColor: mainColor,
elevation: 0,
automaticallyImplyLeading: false,
actions: [
// create logout button
IconButton(
onPressed: () {
model.logout();
},
icon: const Icon(
Icons.logout,
color: Colors.white,
),
),
],
),
// extendBody: true,
body: ExtendedNavigator(
navigatorKey: StackedService.nestedNavigationKey(2),
navigatorKey: StackedService.nestedNavigationKey(7),
router: UserIndexViewRouter(),
),
bottomNavigationBar: StylishBottomBar(