menuItemFollowing function
MenuItemModel
menuItemFollowing(
Implementation
MenuItemModel menuItemFollowing(
String uniqueId, AppModel app, dialogID, privilegeLevelRequired) =>
MenuItemModel(
documentID:
constructDocumentId(uniqueId: uniqueId, documentId: dialogID),
text: 'Following',
description: 'Following',
icon: IconModel(
codePoint: Icons.favorite_sharp.codePoint,
fontFamily: Icons.settings.fontFamily),
action: OpenDialog(app,
dialogID:
constructDocumentId(uniqueId: uniqueId, documentId: dialogID),
conditions: DisplayConditionsModel(
privilegeLevelRequired: privilegeLevelRequired,
packageCondition: CorePackage.mustBeLoggedIn)));