This commit is contained in:
2026-03-20 10:32:36 +03:00
parent 99d985ca45
commit 047d5bdf36
17 changed files with 982 additions and 246 deletions
+1 -7
View File
@@ -29,7 +29,7 @@ final appRouter = GoRouter(
),
GoRoute(
path: '/settings',
pageBuilder: (context, state) => const NoTransitionPage(
pageBuilder: (context, state) => NoTransitionPage(
child: SettingsScreen(),
),
),
@@ -61,12 +61,6 @@ class AppShell extends StatelessWidget {
final idx = _locationToIndex(context);
return Scaffold(
body: child,
floatingActionButton: FloatingActionButton(
onPressed: () => context.push('/add'),
backgroundColor: const Color(0xFF7C6DED),
child: const Icon(Icons.add, color: Colors.white),
),
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
bottomNavigationBar: NavigationBar(
selectedIndex: idx,
onDestinationSelected: (i) {