SmallWidget class

Small widget implementation (155x155pt on iPhone, 170x170pt on iPad).

Uses compact layout for minimal content display.

Implemented types

Constructors

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