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..bb12c5249c8d794a6e7f4cd0187e0a581cedaeb9 100644 |
--- a/sky/sdk/lib/widgets/flat_button.dart |
+++ b/sky/sdk/lib/widgets/flat_button.dart |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+import 'dart:sky' show Color; |
+ |
import '../theme/colors.dart'; |
import 'basic.dart'; |
import 'material_button.dart'; |
@@ -20,7 +22,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]; |