AdaptiveElement class abstract
Base class for every element (widget) drawn on the screen.
Constructors
-
AdaptiveElement({required Map<
String, dynamic> adaptiveMap, required RawAdaptiveCardState widgetState})
Properties
-
adaptiveMap
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetState → RawAdaptiveCardState
-
Access to Flutter-specific card state.
final
Methods
-
build(
) → Widget - Concrete widgets implement this.
-
generateWidget(
) → Widget -
loadId(
) → void -
loadTree(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visitChildren(
AdaptiveElementVisitor visitor) → void - Visits the children
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override