BaseWidgetRender class abstract
Abstract base class for all widget render implementations.
This interface defines the core contract for widget rendering:
- Widget size and layout configuration
- Style application
- Data management
- Native configuration building
- Dimension calculations
- Implementers
Constructors
Properties
- data → WidgetData?
-
The data to be displayed in the widget.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → WidgetLayout
-
The layout style for the widget (compact, expanded, or detailed).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → WidgetSize
-
The size of the widget (small, medium, or large).
no setter
- style → WidgetStyle
-
The style applied to this widget.
no setter
Methods
-
buildNativeConfig(
) → Map< String, dynamic> - Builds the native configuration map for this widget.
-
getDimensions(
{bool isIPad = false}) → Map< String, double> - Gets the dimensions for this widget.
-
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