mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
It is not easy being green (#4606)
This commit is contained in:
parent
69b4bcaff5
commit
2de2ce35bb
@ -34,7 +34,7 @@ class IconsDemoState extends State<IconsDemo> {
|
||||
Colors.blueGrey
|
||||
];
|
||||
|
||||
int iconColorIndex = 9; // green
|
||||
int iconColorIndex = 8; // teal
|
||||
double iconOpacity = 1.0;
|
||||
|
||||
Color get iconColor => iconColorSwatches[iconColorIndex][400];
|
||||
|
||||
@ -16,12 +16,12 @@ final Map<String, WidgetBuilder> _kRoutes = new Map<String, WidgetBuilder>.fromI
|
||||
|
||||
final ThemeData _kGalleryLightTheme = new ThemeData(
|
||||
brightness: Brightness.light,
|
||||
primarySwatch: Colors.green
|
||||
primarySwatch: Colors.teal
|
||||
);
|
||||
|
||||
final ThemeData _kGalleryDarkTheme = new ThemeData(
|
||||
brightness: Brightness.dark,
|
||||
primarySwatch: Colors.green
|
||||
primarySwatch: Colors.teal
|
||||
);
|
||||
|
||||
class GalleryApp extends StatefulWidget {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user