Christopher 3,11,2022

This commit is contained in:
Schummi C
2022-11-03 16:23:27 +01:00
parent a62fbbc761
commit 297ed75d87
+27
View File
@@ -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<MyHomePage> {
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: <Widget>[
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: () {},
),
],
),
),
)
);
}
}