ShortcutItemMessage class

Home screen quick-action shortcut item.

Constructors

ShortcutItemMessage({required String type, required String localizedTitle, String? localizedSubtitle, String? icon})

Properties

hashCode → int
The hash code for this object.
no setteroverride
icon ↔ String?
Name of native resource to be displayed as the icon for this item.
getter/setter pair
localizedSubtitle ↔ String?
Localized subtitle of the item.
getter/setter pair
localizedTitle ↔ String
Localized title of the item.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type ↔ String
The identifier of this item; should be unique within the app.
getter/setter pair

Methods

encode() → Object
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

Static Methods

decode(Object result) → ShortcutItemMessage