extraMenuItems method

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

Implementation

@override
List<MenuItemModel> extraMenuItems() => <MenuItemModel>[
      MenuItemModel(
          documentID: '1',
          text: 'Your bag',
          description: 'Your bag',
          icon: IconModel(
              codePoint: Icons.shopping_basket.codePoint,
              fontFamily: Icons.shopping_basket.fontFamily),
          action: MyCart.openCartPage()),
      MenuItemModel(
          documentID: '2',
          text: 'Notifications',
          description: 'Notifications',
          icon: IconModel(
              codePoint: Icons.notifications.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: NotificationDashboard.action(app)),
      MenuItemModel(
          documentID: '3',
          text: 'Members',
          description: 'Members',
          icon: IconModel(
              codePoint: Icons.people.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: MembershipDashboard.action(app)),
      MenuItemModel(
          documentID: '4',
          text: 'Assignments',
          description: 'Assignments',
          icon: IconModel(
              codePoint: Icons.playlist_add_check.codePoint,
              fontFamily: Icons.notifications.fontFamily),
          action: AssignmentViewSetup.action(app)),
    ];