File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
packages/flutter_hooks/lib/src Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
part of 'hooks.dart' ;
2
2
3
-
4
3
/// Creates a [CupertinoTabController] that will be disposed automatically.
5
4
///
6
5
/// See also:
@@ -26,8 +25,8 @@ class _CupertinoTabControllerHook extends Hook<CupertinoTabController> {
26
25
final int initialIndex;
27
26
28
27
@override
29
- HookState <CupertinoTabController , Hook <CupertinoTabController >> createState () =>
30
- _CupertinoTabControllerHookState ();
28
+ HookState <CupertinoTabController , Hook <CupertinoTabController >>
29
+ createState () => _CupertinoTabControllerHookState ();
31
30
}
32
31
33
32
class _CupertinoTabControllerHookState
@@ -44,4 +43,4 @@ class _CupertinoTabControllerHookState
44
43
45
44
@override
46
45
String get debugLabel => 'useCupertinoTabController' ;
47
- }
46
+ }
Original file line number Diff line number Diff line change 1
1
import 'dart:async' ;
2
2
3
- import 'package:flutter/cupertino.dart'
4
- show CupertinoTabController;
3
+ import 'package:flutter/cupertino.dart' show CupertinoTabController;
5
4
import 'package:flutter/foundation.dart' ;
6
5
import 'package:flutter/material.dart'
7
6
show
You can’t perform that action at this time.
0 commit comments