ShapeWidgetLayerDefinition class final
A host-rendered widget slot with a mandatory portable visual fallback.
All bounds, including fallback bounds, use the owning shape coordinate system. Fallbacks are ordinary compiled parts and share canonical text layout. A host can replace these visuals, but never their durable content.
- Inheritance
-
- Object
- ShapeLayerDefinition
- ShapeWidgetLayerDefinition
Constructors
-
ShapeWidgetLayerDefinition({required String id, required ShapeBoundsDefinition bounds, required String widgetKey, required List<
ShapeLayerDefinition> fallback})
Properties
- bounds → ShapeBoundsDefinition
-
finalinherited
- cursor → ShapeLayerCursor
-
no setterinherited
-
fallback
→ List<
ShapeLayerDefinition> -
final
- 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
- widgetKey → String
-
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.
inherited