Skip to content

Commit c221c82

Browse files
committed
Format
1 parent 2f44474 commit c221c82

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

packages/flutter_hooks/lib/src/cupertino_tab_controller.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
part 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

3332
class _CupertinoTabControllerHookState
@@ -44,4 +43,4 @@ class _CupertinoTabControllerHookState
4443

4544
@override
4645
String get debugLabel => 'useCupertinoTabController';
47-
}
46+
}

packages/flutter_hooks/lib/src/hooks.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import 'dart:async';
22

3-
import 'package:flutter/cupertino.dart'
4-
show CupertinoTabController;
3+
import 'package:flutter/cupertino.dart' show CupertinoTabController;
54
import 'package:flutter/foundation.dart';
65
import 'package:flutter/material.dart'
76
show

0 commit comments

Comments
 (0)