AppWidgetData class
A data that represents a widget in a spesific time.
Constructors
- AppWidgetData(int date, String id, String background, String foreground)
- A data that represents a widget in a spesific time.
- AppWidgetData.fromJson(Map json)
-
factory
Properties
- background → String
-
A base64 encoded image that represents the background of the widget.
final
- date → int
-
The date when the widget should be shown
the time in milliseconds since epoch.
final
- foreground → String
-
A base64 encoded image that represents the foreground of the widget.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Id of the timeline that this widget belongs to.
You will get this id when the user click on the home screen widget
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited