Fix indent
This commit is contained in:
parent
e1b8f0b659
commit
24171915aa
@ -5,12 +5,12 @@
|
||||
import 'package:sky/src/fn3.dart';
|
||||
|
||||
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 {
|
||||
GlobalKey globalKey = key;
|
||||
return globalKey.currentState;
|
||||
}
|
||||
T get currentState {
|
||||
GlobalKey globalKey = key;
|
||||
return globalKey.currentState;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user