FTabBarIndicatorSize enum - forui.widgets.tabs library (original) (raw)

Defines how the bounds of the selected tab indicator are computed.

Values

tab → const FTabBarIndicatorSize

The tab indicator's bounds are as wide as the space occupied by the tab in the tab bar: from the right edge of the previous tab to the left edge of the next tab.

const FTabBarIndicatorSize(TabBarIndicatorSize.tab)

label → const FTabBarIndicatorSize

The tab's bounds are only as wide as the (centered) tab widget itself.

This value is used to align the tab's label, typically a Tabwidget's text or icon, with the selected tab indicator.

const FTabBarIndicatorSize(TabBarIndicatorSize.label)

Properties

hashCodeint

The hash code for this object.

no setterinherited

indexint

A numeric identifier for the enumerated value.

no setterinherited

nameString

Available on Enum, provided by the EnumName extension

The name of the enum value.

no setter

runtimeTypeType

A representation of the runtime type of the object.

no setterinherited

Methods

noSuchMethod(Invocation invocation)→ dynamic

Invoked when a nonexistent method or property is accessed.

inherited

toString()→ String

A string representation of this object.

inherited