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

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

Issue 1183143012: Widgets should be stateful before calling setState (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 | « no previous file | sky/sdk/lib/widgets/widget.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/button_base.dart
diff --git a/sky/sdk/lib/widgets/button_base.dart b/sky/sdk/lib/widgets/button_base.dart
index e0f88544b708e5fe3d1e4d6bc60aefe6aaa09265..9fc93e9d7686b86d4e08a22c0c71ec6a8884538b 100644
--- a/sky/sdk/lib/widgets/button_base.dart
+++ b/sky/sdk/lib/widgets/button_base.dart
@@ -6,7 +6,7 @@ import 'basic.dart';
abstract class ButtonBase extends Component {
- ButtonBase({ String key, this.highlight: false }) : super(key: key);
+ ButtonBase({ String key, this.highlight: false }) : super(key: key, stateful: true);
bool highlight;
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/widget.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698