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

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

Issue 1217093005: Refactor stateful parts of Component into StatefulComponent (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 5 years, 5 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/basic.dart ('k') | sky/sdk/lib/widgets/navigator.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 9fc93e9d7686b86d4e08a22c0c71ec6a8884538b..3fcb4e079f29aeded86ebf5fe5badd3e7799c5c4 100644
--- a/sky/sdk/lib/widgets/button_base.dart
+++ b/sky/sdk/lib/widgets/button_base.dart
@@ -4,9 +4,9 @@
import 'basic.dart';
-abstract class ButtonBase extends Component {
+abstract class ButtonBase extends StatefulComponent {
- ButtonBase({ String key, this.highlight: false }) : super(key: key, stateful: true);
+ ButtonBase({ String key, this.highlight: false }) : super(key: key);
bool highlight;
« no previous file with comments | « sky/sdk/lib/widgets/basic.dart ('k') | sky/sdk/lib/widgets/navigator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698