Moved the assets folder into the git repo and some other stuff too

This commit is contained in:
2024-01-04 22:41:01 +02:00
parent 35a53b21cf
commit f17e540f68
15 changed files with 11 additions and 563 deletions

View File

@ -14,7 +14,7 @@ class MainApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(home: DynamicColorBuilder(
builder: (ColorScheme? lightDynamic, ColorScheme? darkDynamic) {
var brightness =
final Brightness brightness =
SchedulerBinding.instance.platformDispatcher.platformBrightness;
bool isDark = brightness == Brightness.dark;
@ -23,7 +23,13 @@ class MainApp extends StatelessWidget {
? (darkDynamic?.primary ?? Colors.grey.shade800)
: (lightDynamic?.primary ?? Colors.grey.shade200));
return Scaffold(backgroundColor: accentColor);
return Scaffold(
backgroundColor: accentColor,
body:
Container(
decoration: const BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/clock icon light.png')))));
}));
}
}