indicator property

Decoration? indicator

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 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:


final Decoration? indicator;