Update Dark Theme disabledColor to White38 (#35136)

* Add Colors.white38

* Update ThemeData.disabledColor and ButtonThemeData.disabledColor to Colors.white38

* Update pre-existing tests to expect Colors.white38 instead of Colors.white30

* Update API documentation to reflect these changes
This commit is contained in:
Shi-Hao Hong
2019-07-10 08:50:24 -07:00
committed by GitHub
parent 2b20345bb8
commit e7ef75680e
8 changed files with 31 additions and 25 deletions

View File

@@ -85,7 +85,7 @@ void main() {
// check the color of the icon - dark mode
checkIconColor(tester, 'Stock List', Colors.redAccent); // theme accent color
checkIconColor(tester, 'Account Balance', Colors.white30); // disabled
checkIconColor(tester, 'Account Balance', Colors.white38); // disabled
checkIconColor(tester, 'About', Colors.white); // enabled
});
}