Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: sky/sdk/lib/widgets/flat_button.dart

Issue 1201273002: Add a confirmation dialog to stock app Settings page and style it by default (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/widgets/dialog.dart ('k') | sky/tests/widgets/buttons-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/flat_button.dart
diff --git a/sky/sdk/lib/widgets/flat_button.dart b/sky/sdk/lib/widgets/flat_button.dart
index c4b65cceed3f7e497121c309dd00cff6f6254490..c15b3a599e1f24025118e23cd502b460b42f4033 100644
--- a/sky/sdk/lib/widgets/flat_button.dart
+++ b/sky/sdk/lib/widgets/flat_button.dart
@@ -20,7 +20,7 @@ class FlatButton extends MaterialButton {
Color get color {
if (!enabled || !highlight)
- return null;
+ return const Color(0x00000000);
switch (Theme.of(this).brightness) {
case ThemeBrightness.light:
return Grey[400];
« no previous file with comments | « sky/sdk/lib/widgets/dialog.dart ('k') | sky/tests/widgets/buttons-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698