menuItemFiendFriendsPage function
MenuItemModel
menuItemFiendFriendsPage(
Implementation
MenuItemModel menuItemFiendFriendsPage(
String uniqueId, AppModel app, pageID, privilegeLevelRequired) =>
MenuItemModel(
documentID: constructDocumentId(uniqueId: uniqueId, documentId: pageID),
text: 'Find friends',
description: 'Fiend friends',
icon: IconModel(
codePoint: Icons.favorite_sharp.codePoint,
fontFamily: Icons.settings.fontFamily),
action: GotoPage(app,
pageID: constructDocumentId(uniqueId: uniqueId, documentId: pageID),
conditions: DisplayConditionsModel(
privilegeLevelRequired: privilegeLevelRequired,
packageCondition: CorePackage.mustBeLoggedIn)));