icons and splash screens

This commit is contained in:
stopflock
2025-08-10 00:19:55 -05:00
parent 63675bd18a
commit 6bf9556c65
57 changed files with 395 additions and 230 deletions
+20 -1
View File
@@ -9,7 +9,26 @@ void main() {
runApp(
ChangeNotifierProvider(
create: (_) => AppState(),
child: const FlockMapApp(),
child: Consumer<AppState>(
builder: (context, appState, _) {
if (!appState.isInitialized) {
// You can customize this splash/loading screen as needed
return MaterialApp(
home: Scaffold(
backgroundColor: Color(0xFF202020),
body: Center(
child: Image.asset(
'assets/app_icon.png',
width: 240,
height: 240,
),
),
),
);
}
return const FlockMapApp();
},
),
),
);
}