File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 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> {
3939 final Duration ? animationDuration;
4040
4141 @override
42- HookState <TabController , Hook <TabController >> createState () => _TabControllerHookState ();
42+ HookState <TabController , Hook <TabController >> createState () =>
43+ _TabControllerHookState ();
4344}
4445
45- class _TabControllerHookState extends HookState <TabController , _TabControllerHook > {
46+ class _TabControllerHookState
47+ extends HookState <TabController , _TabControllerHook > {
4648 late final controller = TabController (
4749 length: hook.length,
4850 initialIndex: hook.initialIndex,
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ void main() {
2020 final element = tester.element (find.byType (HookBuilder ));
2121
2222 expect (
23- element.toDiagnosticsNode (style: DiagnosticsTreeStyle .offstage).toStringDeep (),
23+ element
24+ .toDiagnosticsNode (style: DiagnosticsTreeStyle .offstage)
25+ .toStringDeep (),
2426 equalsIgnoringHashCodes (
2527 'HookBuilder\n '
2628 ' │ useSingleTickerProvider\n '
@@ -137,7 +139,8 @@ void main() {
137139 ticker.dispose ();
138140 });
139141
140- testWidgets ('initial animationDuration matches with real constructor' , (tester) async {
142+ testWidgets ('initial animationDuration matches with real constructor' ,
143+ (tester) async {
141144 late TabController controller;
142145 late TabController controller2;
143146
You can’t perform that action at this time.
0 commit comments