add comment about bug
This commit is contained in:
parent
5ae23f4620
commit
0ef8f2e5a5
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ class App extends ConsumerWidget {
|
||||||
Widget build(BuildContext context, WidgetRef ref) => DynamicColorBuilder(
|
Widget build(BuildContext context, WidgetRef ref) => DynamicColorBuilder(
|
||||||
builder: (lightDynamic, darkDynamic) => MaterialApp(
|
builder: (lightDynamic, darkDynamic) => MaterialApp(
|
||||||
debugShowCheckedModeBanner: false,
|
debugShowCheckedModeBanner: false,
|
||||||
|
// Use indigo to work around bugs in theme generation
|
||||||
theme: (lightDynamic ?? ColorScheme.fromSeed(seedColor: Colors.indigo))
|
theme: (lightDynamic ?? ColorScheme.fromSeed(seedColor: Colors.indigo))
|
||||||
.theme,
|
.theme,
|
||||||
darkTheme:
|
darkTheme:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue