menuItemFollowingPage function
MenuItemModel
menuItemFollowingPage(
Implementation
MenuItemModel menuItemFollowingPage(
String uniqueId, AppModel app, pageID, privilegeLevelRequired) =>
MenuItemModel(
documentID: constructDocumentId(uniqueId: uniqueId, documentId: pageID),
text: 'Following',
description: 'Following',
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)));