ShortcutArg class

Constructors

ShortcutArg({required String id, required String shortLabel, String longLabel = '', String iconResourceName = '', String uri = '', bool enabled = true})
ShortcutArg.fromMap(Map map)
factory

Properties

enabled bool
Tells whether the shortcut is enabled or not Setting this does NOT enable/disable the shortcut please use the FlutterAppShortcut class
final
hashCode int
The hash code for this object.
no setterinherited
iconResourceName String
App short cut leading icon
final
id String
Unique id to identify shortcuts
final
longLabel String
Label of the shortcut, if there is enough room, {longLabel} is used instead of label Default value is {shortLabel}
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortLabel String
Label of the shortcut
final
uri String
Uri of target destination when click on shortcut
final

Methods

copyWith({String? id, String? shortLabel, String? longLabel, String? iconResourceName, String? uri, bool? enabled}) ShortcutArg
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited