menuItemFeed function

dynamic menuItemFeed(
  1. AppModel app,
  2. dynamic documentID,
  3. dynamic pageID,
  4. dynamic text,
)

Implementation

menuItemFeed(AppModel app, documentID, pageID, text) => MenuItemModel(
    documentID: documentID,
    text: text,
    description: text,
    icon: IconModel(
        codePoint: Icons.group.codePoint,
        fontFamily: Icons.settings.fontFamily),
    action: GotoPage(app, pageID: pageID));