TileWidgetPosition enum
TileWidgetPosition enum defines the possible positions for interactive widgets like switches or checkboxes within a Tile.
- leading: Positions the widget on the left side of the tile content.
- trailing: Positions the widget on the right side of the tile content.
This enum is used in Arcane UI components like SwitchTile and CheckboxTile to control layout flexibility, ensuring efficient rendering without unnecessary rebuilds when integrated into Section or SliverScreen for list-based interfaces.
Values
- leading → const TileWidgetPosition
- trailing → const TileWidgetPosition
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
TileWidgetPosition> - A constant List of the values in this enum, in order of their declaration.