Skip to content

Instantly share code, notes, and snippets.

@abarth
Created September 21, 2015 18:17
Show Gist options
  • Save abarth/a7f688665a41bdc822a4 to your computer and use it in GitHub Desktop.
Save abarth/a7f688665a41bdc822a4 to your computer and use it in GitHub Desktop.
diff --git a/sky/unit/test/fn3/stateful_component_test.dart b/sky/unit/test/fn3/stateful_component_test.dart
index 3b65e4d..9f6e431 100644
--- a/sky/unit/test/fn3/stateful_component_test.dart
+++ b/sky/unit/test/fn3/stateful_component_test.dart
@@ -13,9 +13,7 @@ class TestComponentConfig extends ComponentConfiguration {
TestComponentState createState() => new TestComponentState();
}
-class TestComponentState extends ComponentState {
- TestComponentConfig get config => super.config;
-
+class TestComponentState extends ComponentState<TestComponentConfig> {
bool _showLeft = true;
void flip() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment