menuItemFader method

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

Implementation

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