indicatorSize property

TabBarIndicatorSize? indicatorSize
final

Defines how the selected tab indicator's size is computed.

The size of the selected tab indicator is defined relative to the tab's overall bounds if indicatorSize is TabBarIndicatorSize.tab (the default) or relative to the bounds of the tab's widget if indicatorSize is TabBarIndicatorSize.label.

The selected tab's location appearance can be refined further with the indicatorColor, indicatorWeight, indicatorPadding, and indicator properties.

Implementation

final TabBarIndicatorSize? indicatorSize;