LabelStackBreakPosition enum
The strategy for whether a row of text should be broken before or after it exceeds the ideal length.
If stacking is turned on, label placement can insert a line break before or after the word that overruns the maximum number of characters per row.
Values
- automatic → const LabelStackBreakPosition
-
Use the default break position (LabelStackBreakPosition.after).
- after → const LabelStackBreakPosition
-
Insert the line break after a word that has broken the stackRowLength limit.
This means rows will generally be longer than the LabelDefinition.stackRowLength.
- before → const LabelStackBreakPosition
-
Insert the line break before a word that will break the stackRowLength limit.
This means rows will generally be shorter than the LabelDefinition.stackRowLength (although they will overrun for individual words larger than this count).
Properties
- coreValue → RT_LabelStackBreakPosition
-
Convert to internal value.
no setter
- 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<
LabelStackBreakPosition> - A constant List of the values in this enum, in order of their declaration.