mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 22:09:06 +00:00
[platform_design]Fix problems in dark mode (#377)
This commit is contained in:
committed by
GitHub
parent
f8e3d391f3
commit
3a02748df2
@@ -20,6 +20,7 @@ class MyAdaptingApp extends StatelessWidget {
|
||||
// Use the green theme for Material widgets.
|
||||
primarySwatch: Colors.green,
|
||||
),
|
||||
darkTheme: ThemeData.dark(),
|
||||
builder: (context, child) {
|
||||
return CupertinoTheme(
|
||||
// Instead of letting Cupertino widgets auto-adapt to the Material
|
||||
|
||||
Reference in New Issue
Block a user