HomeWidgetInfo class
Represents information about the pinned home widget.
Constructors
- HomeWidgetInfo({String? iOSFamily, String? iOSKind, int? androidWidgetId, String? androidClassName, String? androidLabel})
- Constructs a HomeWidgetInfo object.
-
HomeWidgetInfo.fromMap(Map<
String, dynamic> data) -
Constructs a HomeWidgetInfo object from a map.
factory
Properties
- androidClassName ↔ String?
-
Only Android. The androidClassName parameter represents the class name of the widget.
getter/setter pair
- androidLabel ↔ String?
-
Only Android. Loads the localized label to display to the user in the AppWidget picker.
getter/setter pair
- androidWidgetId ↔ int?
-
Only Android. Unique identifier for each instance of the widget, used for tracking individual widget usage.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- iOSFamily ↔ String?
-
Only iOS. The size of the widget: small, medium, or large.
getter/setter pair
- iOSKind ↔ String?
-
Only iOS. The string specified during creation of the widget’s configuration.
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override