extraMenuItems method

  1. @override
List<MenuItemModel> extraMenuItems()
override

Implementation

@override
List<MenuItemModel> extraMenuItems() => <MenuItemModel>[
/*
      MenuItemModel(
          documentID: 'feed',
          text: 'Post',
          description: 'Post this page to my feed',
          icon: IconModel(
              codePoint: Icons.post_add.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: PostActionModel(app,
              feed: Feed.feedModel(),
              conditions: DisplayConditionsModel(
                  privilegeLevelRequired:
                      PrivilegeLevelRequired.noPrivilegeRequired,
                  packageCondition: CorePackage.MUST_BE_LOGGED_ON))),
*/
      MenuItemModel(
          documentID: 'notifications',
          text: 'Notifications',
          description: 'Notifications',
          icon: IconModel(
              codePoint: Icons.notifications.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: NotificationDashboard.action(app)),
      MenuItemModel(
          documentID: 'assignments',
          text: 'Assignments',
          description: 'Assignments',
          icon: IconModel(
              codePoint: Icons.playlist_add_check.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: AssignmentViewSetup.action(app)),
      MenuItemModel(
          documentID: 'chatUnread',
          text: 'Chat',
          description: 'Open unread chat messages',
          icon: IconModel(
              codePoint: Icons.chat_bubble_rounded.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: ChatPage.unReadAction(app)),
      MenuItemModel(
          documentID: 'chatReadAndUnread',
          text: 'Chat',
          description: 'Open chat',
          icon: IconModel(
              codePoint: Icons.chat_bubble_outline_rounded.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: ChatPage.readAction(app)),
    ];