diff --git a/lib/main.dart b/lib/main.dart index 45908b9..f4537ab 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -15,6 +15,7 @@ class MyApp extends StatelessWidget { title: 'Flutter Demo', theme: ThemeData( primarySwatch: Colors.green, + scaffoldBackgroundColor: const Color(0xFFFFFFFF) ), home: const MyHomePage(title: 'Bürger Forum Oggau'), ); @@ -68,6 +69,32 @@ class _MyHomePageState extends State { tooltip: 'Increment', child: const Icon(Icons.add), ), + bottomNavigationBar: BottomAppBar( + color: const Color(0xFF1601FD), + child: IconTheme( + data: IconThemeData(color: Theme.of(context).colorScheme.onPrimary), + child: Row( + children: [ + IconButton( + tooltip: 'News', + icon: const Icon(Icons.newspaper), + onPressed: () {}, + ), + //if (centerLocations.contains(fabLocation)) const Spacer(), + IconButton( + tooltip: 'Mängel', + icon: const Icon(Icons.warning), + onPressed: () {}, + ), + IconButton( + tooltip: 'Profil', + icon: const Icon(Icons.person), + onPressed: () {}, + ), + ], + ), + ), + ) ); } }