ShapeContentLayerDefinition class abstract

Extension-owned content fills this region and participates in intrinsic sizing.

Inheritance

Constructors

ShapeContentLayerDefinition({required String id, required ShapeBoundsDefinition bounds, required String slotId})
const

Properties

bounds → ShapeBoundsDefinition
finalinherited
contentType → String
no setter
cursor → ShapeLayerCursor
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
finalinherited
interactionId → String?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slotId → String
final
texts → Iterable<DiagramTextDefinition>
The text this content fills its slots with, whose story verbs the owning element offers.
no setter
verbs → List<DiagramVerb>
The verbs of this content part, such as a table's insertRow. A shape binds them to this part; they are qualified by slotId only when the shape has several parts offering the same verb.
no setter

Methods

constrainBehavior(ShapeBehavior behavior) → ShapeBehavior
Narrows what the owning shape permits while it holds this content, such as a table that sizes its own rows.
createContent(String elementId) → TextStoryContent?
Creates authored content once when a new owner is created. A visual-only provider may leave the region without a story payload.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
textFor(TextStoryContent content, String slotId) → DiagramTextDefinition?
The text filling slotId of content, or null for plain text.
toString() → String
A string representation of this object.
inherited
validateContent() → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited