UnderlineTabIndicator
UnderlineTabIndicator
#
border_radius
#
border_radius: BorderRadiusValue | None = None
The radius of the indicator's corners.
If this value is not None
, a rounded rectangular tab indicator is
drawn, otherwise rectangular tab indicator is drawn.
border_side
#
border_side: BorderSide = field(
default_factory=lambda: BorderSide(
width=2.0, color=WHITE
)
)
The color and weight of the horizontal line drawn below the selected tab.
insets
#
insets: PaddingValue = field(default_factory=lambda: zero())
Locates the selected tab's underline relative to the tab's boundary.
The TabBar.indicator_size
property can be used
to define the tab indicator's bounds in terms of its (centered) tab control with
TabBarIndicatorSize.LABEL
, or the entire tab
with TabBarIndicatorSize.TAB
.