getThoseMenuItems method
List<MenuItemModel>
getThoseMenuItems(
)
override
Implementation
@override
List<MenuItemModel> getThoseMenuItems(String uniqueId, AppModel app) => [
MenuItemModel(
documentID: newRandomKey(),
text: 'Chat',
description: 'Some unread messages available',
icon: IconModel(
codePoint: Icons.chat_bubble_rounded.codePoint,
fontFamily: Icons.notifications.fontFamily),
action: ChatPageBuilder.unReadAction(app, uniqueId)),
MenuItemModel(
documentID: newRandomKey(),
text: 'Chat',
description: 'Open chat',
icon: IconModel(
codePoint: Icons.chat_bubble_outline_rounded.codePoint,
fontFamily: Icons.notifications.fontFamily),
action: ChatPageBuilder.readAction(app, uniqueId)),
];