ShortcutItem class
Home screen quick-action shortcut item.
Constructors
- ShortcutItem({required String type, required String localizedTitle, String? icon})
-
Constructs an instance with the given type, localizedTitle, and
icon.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → String?
-
Name of native resource (xcassets etc; NOT a Flutter asset) to be
displayed as the icon for this item.
final
- localizedTitle → String
-
Localized title of the item.
final
- 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.
final
Methods
-
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