add asset background
parent
d18231966c
commit
ebc5776e78
|
@ -7,4 +7,4 @@ DatabaseService databaseService = DatabaseMock();
|
||||||
// DatabaseService databaseService = DatabaseService.instance;
|
// DatabaseService databaseService = DatabaseService.instance;
|
||||||
|
|
||||||
// set this to read settings from local json file instead of scanning a qr code
|
// set this to read settings from local json file instead of scanning a qr code
|
||||||
bool useLocalConfig = false;
|
bool useLocalConfig = true;
|
||||||
|
|
|
@ -37,7 +37,14 @@ class MyHomePage extends StatelessWidget {
|
||||||
'${pageProvider.currentPageData['title']} ${isConfigured ? "Gruppe ${settingsProvider.settings?.group}" : ""}')
|
'${pageProvider.currentPageData['title']} ${isConfigured ? "Gruppe ${settingsProvider.settings?.group}" : ""}')
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
body: pageProvider.currentPageData['page'],
|
body: Stack(alignment: Alignment.center, children: [
|
||||||
|
Image.asset(
|
||||||
|
'assets/ZI_logo.png',
|
||||||
|
opacity: const AlwaysStoppedAnimation(0.05),
|
||||||
|
width: MediaQuery.of(context).size.width * 0.8,
|
||||||
|
),
|
||||||
|
pageProvider.currentPageData['page'],
|
||||||
|
]),
|
||||||
bottomNavigationBar: NavigationBar(
|
bottomNavigationBar: NavigationBar(
|
||||||
onDestinationSelected: isConfigured
|
onDestinationSelected: isConfigured
|
||||||
? pageProvider.setCurrentPage
|
? pageProvider.setCurrentPage
|
||||||
|
|
|
@ -48,3 +48,4 @@ flutter:
|
||||||
- assets/finish.mp3
|
- assets/finish.mp3
|
||||||
- assets/group1.json
|
- assets/group1.json
|
||||||
- assets/group3.json
|
- assets/group3.json
|
||||||
|
- assets/ZI_logo.png
|
||||||
|
|
Loading…
Reference in New Issue