ShortcutItem constructor
const
ShortcutItem({})
Create a shortcut item. Eg.
const ShortcutItem(
id: "1",
action: 'Home page action',
shortLabel: 'Home Page',
icon: 'assets/icons/home.png',
);
Implementation
const ShortcutItem({
required this.id,
required this.action,
required this.shortLabel,
this.shortcutIconAsset = ShortcutIconAsset.flutterAsset,
this.longLabel,
this.icon,
this.conversationShortcut = false,
this.isImportant = false,
this.isBot = false,
});