MoonPillTab class
Constructors
-
MoonPillTab({bool disabled = false, bool autoFocus = false, bool isFocusable = true, bool showFocusEffect = true, FocusNode? focusNode, MoonPillTabStyle? tabStyle, String? semanticLabel, ValueChanged<
bool> ? isSelected, Widget? leading, Widget? label, Widget? trailing}) -
Creates a Moon Design pill tab.
const
Properties
- autoFocus → bool
-
True if this widget will be selected as the initial focus when no other
node in its scope is currently focused.
final
- disabled → bool
-
Whether the tab is disabled.
final
- focusNode → FocusNode?
-
An optional focus node to use as the focus node for this widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFocusable → bool
-
Whether the tab is focusable.
final
-
isSelected
→ ValueChanged<
bool> ? -
The callback that returns the current selection status of the tab as a boolean value.
final
- label → Widget?
-
The primary content of the tab widget.
final
- leading → Widget?
-
The widget to display before the label widget of the tab.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticLabel → String?
-
The semantic label for the tab.
final
- showFocusEffect → bool
-
Whether to show a focus outline effect when the tab is focused.
final
- tabStyle → MoonPillTabStyle?
-
The styling options for the tab.
final
- trailing → Widget?
-
The widget to display after the label widget of the tab.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited