Commit 24171915 authored by Adam Barth's avatar Adam Barth

Fix indent

parent e1b8f0b6
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
import 'package:sky/src/fn3.dart'; import 'package:sky/src/fn3.dart';
abstract class UniqueComponent<T extends State> extends StatefulComponent { abstract class UniqueComponent<T extends State> extends StatefulComponent {
UniqueComponent({ GlobalKey key }) : super(key: key ?? new GlobalKey()); UniqueComponent({ GlobalKey key }) : super(key: key ?? new GlobalKey());
T createState(); T createState();
T get currentState { T get currentState {
GlobalKey globalKey = key; GlobalKey globalKey = key;
return globalKey.currentState; return globalKey.currentState;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment