Skip to content

Commit 46f58de

Browse files
committed
update: formatted code
1 parent 418f1e7 commit 46f58de

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

example/lib/main.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import 'package:flutter/widgets.dart';
32
import 'application.dart';
43

lib/bubble_tab_indicator.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ class BubbleTabIndicator extends Decoration {
5959
}
6060

6161
class _BubblePainter extends BoxPainter {
62-
_BubblePainter(this.decoration, VoidCallback? onChanged)
63-
: super(onChanged);
62+
_BubblePainter(this.decoration, VoidCallback? onChanged) : super(onChanged);
6463

6564
final BubbleTabIndicator decoration;
6665

@@ -72,8 +71,6 @@ class _BubblePainter extends BoxPainter {
7271
TabBarIndicatorSize get tabBarIndicatorSize => decoration.tabBarIndicatorSize;
7372

7473
Rect _indicatorRectFor(Rect rect, TextDirection textDirection) {
75-
76-
7774
Rect indicator = padding.resolve(textDirection).inflateRect(rect);
7875

7976
if (tabBarIndicatorSize == TabBarIndicatorSize.tab) {
@@ -90,7 +87,6 @@ class _BubblePainter extends BoxPainter {
9087

9188
@override
9289
void paint(Canvas canvas, Offset offset, ImageConfiguration configuration) {
93-
9490
assert(configuration.size != null);
9591
final Rect rect = Offset(
9692
offset.dx, (configuration.size!.height / 2) - indicatorHeight / 2) &

0 commit comments

Comments
 (0)