menuItemFeed function

MenuItemModel menuItemFeed(
  1. String uniqueId,
  2. AppModel app,
  3. dynamic pageID,
  4. dynamic text,
)

Implementation

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