mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
update
This commit is contained in:
+1
-7
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user