menuItemWelcome method
MenuItemModel
menuItemWelcome(
Implementation
MenuItemModel menuItemWelcome(String uniqueId, AppModel app, pageID, text) =>
MenuItemModel(
documentID:
constructDocumentId(uniqueId: uniqueId, documentId: pageID),
text: text,
description: text,
icon: IconModel(
codePoint: Icons.emoji_people.codePoint,
fontFamily: Icons.settings.fontFamily),
action: GotoPage(app,
pageID:
constructDocumentId(uniqueId: uniqueId, documentId: pageID)));