Moved the assets folder into the git repo and some other stuff too
This commit is contained in:
@ -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')))));
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user