DiagramTextRegionLayout class final
One resolved destination for blocks carrying the matching content slot id.
Constructors
- DiagramTextRegionLayout({required String slotId, required DiagramRect bounds, DiagramTextDefinition? text, bool overflow = false, bool wrapText = true, DiagramTextVerticalAlignment verticalAlignment = DiagramTextVerticalAlignment.center, DiagramColor foreground = const DiagramColor(0xFF111111), double defaultFontSize = diagramDefaultFontSize})
-
const
Properties
- bounds → DiagramRect
-
final
- defaultFontSize → double
-
final
- foreground → DiagramColor
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- overflow → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singleLine → bool
-
One line that never wraps, from the text's line limit.
no setter
- slotId → String
-
final
- text → DiagramTextDefinition?
-
The text filling this region, which presents its paragraphs and
markers; null lays out plain text.
final
- verticalAlignment → DiagramTextVerticalAlignment
-
final
- wrapText → bool
-
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.
override