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 11part of 'hooks.dart' ;
22
3-
43/// Creates a [CupertinoTabController] that will be disposed automatically.
54///
65/// See also:
@@ -26,8 +25,8 @@ class _CupertinoTabControllerHook extends Hook<CupertinoTabController> {
2625 final int initialIndex;
2726
2827 @override
29- HookState <CupertinoTabController , Hook <CupertinoTabController >> createState () =>
30- _CupertinoTabControllerHookState ();
28+ HookState <CupertinoTabController , Hook <CupertinoTabController >>
29+ createState () => _CupertinoTabControllerHookState ();
3130}
3231
3332class _CupertinoTabControllerHookState
@@ -44,4 +43,4 @@ class _CupertinoTabControllerHookState
4443
4544 @override
4645 String get debugLabel => 'useCupertinoTabController' ;
47- }
46+ }
Original file line number Diff line number Diff line change 11import 'dart:async' ;
22
3- import 'package:flutter/cupertino.dart'
4- show CupertinoTabController;
3+ import 'package:flutter/cupertino.dart' show CupertinoTabController;
54import 'package:flutter/foundation.dart' ;
65import 'package:flutter/material.dart'
76 show
You can’t perform that action at this time.
0 commit comments