indicatorPosition property

DecorationPosition indicatorPosition
final

Whether the indicator is painted under the tabs (DecorationPosition.background, the default) or over them (DecorationPosition.foreground). Under is right for most: a pill or a fill behind the selected tab's words must not cover them, and a line under them shows either way. Over suits a line a tab's own fill would hide (a tab that paints its hover or its selection across its whole box). It takes no hits either way.

Implementation

final DecorationPosition indicatorPosition;