indicator property

Decoration? indicator
final

Defines the appearance of the selected tab indicator.

If indicator is specified or provided from TabBarTheme, the indicatorColor, and indicatorWeight properties are ignored.

The default, underline-style, selected tab indicator can be defined with UnderlineTabIndicator.

The indicator's size is based on the tab's bounds. If indicatorSize is TabBarIndicatorSize.tab the tab's bounds are as wide as the space occupied by the tab in the tab bar. If indicatorSize is TabBarIndicatorSize.label, then the tab's bounds are only as wide as the tab widget itself.

See also:

Implementation

final Decoration? indicator;