MediumWidget class

Medium widget implementation (329x155pt on iPhone, 364x170pt on iPad).

Uses expanded layout for moderate content display.

Implemented types

Constructors

MediumWidget({required WidgetConfig config, required WidgetStyle style, WidgetData? data})
Creates a new MediumWidget 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 medium).
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