menuItem function
dynamic
menuItem(
Implementation
menuItem(AppModel app, documentID, pageID, text, IconData iconData) =>
MenuItemModel(
documentID: documentID,
text: text,
description: text,
icon: IconModel(
codePoint: iconData.codePoint,
fontFamily: Icons.settings.fontFamily),
action: GotoPage(app, pageID: pageID));