menuItemFiendFriends function

dynamic menuItemFiendFriends(
  1. AppModel app,
  2. dynamic documentID,
  3. dynamic dialogID,
  4. dynamic privilegeLevelRequired,
)

Implementation

menuItemFiendFriends(
        AppModel app, documentID, dialogID, privilegeLevelRequired) =>
    MenuItemModel(
        documentID: documentID,
        text: 'Find friends',
        description: 'Fiend friends',
        icon: IconModel(
            codePoint: Icons.favorite_sharp.codePoint,
            fontFamily: Icons.settings.fontFamily),
        action: OpenDialog(app,
            dialogID: dialogID,
            conditions: DisplayConditionsModel(
                privilegeLevelRequired: privilegeLevelRequired,
                packageCondition: CorePackage.mustBeLoggedIn)));