Added page swipe for navigation

This commit is contained in:
Mohammad Salameh
2024-03-10 16:57:12 +03:00
parent c03b2b248d
commit f11b6d8d32
10 changed files with 84 additions and 22 deletions

View File

@ -19,6 +19,7 @@ class DefaultAppBar extends StatelessWidget implements PreferredSizeWidget {
child: AppBar(
backgroundColor: Colors.transparent,
leadingWidth: 150,
toolbarHeight: Constants.appBarHeight,
leading: NavCubit.appBarLeading[
NavCubit().bottomNavItems[NavCubit.pageIndex].label],
actions: NavCubit.appBarActions[