use color.shadeXxx instead of color[Xxx] (#8932)
* use color.shadeXxx instead of color[Xxx] * remove calls to .shade500 on MaterialColor * remove calls to .shade200 on MaterialAccentColor * fix test
This commit is contained in:
committed by
GitHub
parent
fac2fac1d6
commit
578ca0a295
@@ -633,7 +633,7 @@ class FancyDrawerHeader extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return new Container(
|
||||
decoration: new BoxDecoration(
|
||||
backgroundColor: Colors.purple[500]
|
||||
backgroundColor: Colors.purple
|
||||
),
|
||||
height: 200.0
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user