File tree 2 files changed +9
-4
lines changed 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,12 @@ class _TabControllerHook extends Hook<TabController> {
39
39
final Duration ? animationDuration;
40
40
41
41
@override
42
- HookState <TabController , Hook <TabController >> createState () => _TabControllerHookState ();
42
+ HookState <TabController , Hook <TabController >> createState () =>
43
+ _TabControllerHookState ();
43
44
}
44
45
45
- class _TabControllerHookState extends HookState <TabController , _TabControllerHook > {
46
+ class _TabControllerHookState
47
+ extends HookState <TabController , _TabControllerHook > {
46
48
late final controller = TabController (
47
49
length: hook.length,
48
50
initialIndex: hook.initialIndex,
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ void main() {
20
20
final element = tester.element (find.byType (HookBuilder ));
21
21
22
22
expect (
23
- element.toDiagnosticsNode (style: DiagnosticsTreeStyle .offstage).toStringDeep (),
23
+ element
24
+ .toDiagnosticsNode (style: DiagnosticsTreeStyle .offstage)
25
+ .toStringDeep (),
24
26
equalsIgnoringHashCodes (
25
27
'HookBuilder\n '
26
28
' │ useSingleTickerProvider\n '
@@ -137,7 +139,8 @@ void main() {
137
139
ticker.dispose ();
138
140
});
139
141
140
- testWidgets ('initial animationDuration matches with real constructor' , (tester) async {
142
+ testWidgets ('initial animationDuration matches with real constructor' ,
143
+ (tester) async {
141
144
late TabController controller;
142
145
late TabController controller2;
143
146
You can’t perform that action at this time.
0 commit comments