File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1-
21import 'package:flutter/widgets.dart' ;
32import 'application.dart' ;
43
Original file line number Diff line number Diff line change @@ -59,8 +59,7 @@ class BubbleTabIndicator extends Decoration {
5959}
6060
6161class _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 ) &
You can’t perform that action at this time.
0 commit comments