ControlAffinity enum
Where to place the control next to a label.
Values
- leading → const ControlAffinity
-
Position the control on the leading edge, and the secondary widget, if any, on the trailing edge.
- trailing → const ControlAffinity
-
Position the control on the trailing edge, and the secondary widget, if any, on the leading edge.
- platform → const ControlAffinity
-
Position the control relative to the text in the fashion that is typical for the current platform, and place the secondary widget on the opposite side.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isLeading → bool
-
Whether or not this is leading
no setter
- isPlatform → bool
-
Whether or not this is platform
no setter
- isTrailing → bool
-
Whether or not this is trailing
no setter
- 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<
ControlAffinity> - A constant List of the values in this enum, in order of their declaration.