LargeWidget class
Large widget implementation (329x345pt on iPhone, 364x376pt on iPad).
Uses detailed layout for rich content display.
- Implemented types
Constructors
- LargeWidget({required WidgetConfig config, required WidgetStyle style, WidgetData? data})
-
Creates a new LargeWidget instance.
const
Properties
- config → WidgetConfig
-
Widget configuration.
final
- data → WidgetData?
-
Data to display in the widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- layout → WidgetLayout
-
Widget layout (from config).
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → WidgetSize
-
Widget size (always large).
no setteroverride
- style → WidgetStyle
-
Style applied to this widget.
final
Methods
-
buildNativeConfig(
) → Map< String, dynamic> -
Builds the native configuration map for this widget.
override
-
getDimensions(
{bool isIPad = false}) → Map< String, double> -
Gets the dimensions for this widget.
override
-
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