homeMenuDef method

  1. @override
MenuDefModel homeMenuDef()
override

Implementation

@override
MenuDefModel homeMenuDef() {
  var menuItems = <MenuItemModel>[];
  menuItems.add(menuItemWelcome(app, "1", Welcome.identifier, "Welcome"));
  menuItems.add(menuItemShoppingBag(app, "2", Shop.identifier, "Shop"));
  menuItems.add(menuItemAbout(app, "4", About.identifier2, "About"));
  var menu = MenuDefModel(
      documentID: defaults.homeMenuID(theApp.documentID),
      appId: juuwleAppId,
      name: 'Main Menu',
      menuItems: menuItems);
  return menu;
}