GrockMenuItem constructor
GrockMenuItem({})
Implementation
GrockMenuItem({
/// [text] is the text of the menu item
this.text,
/// [leading] is the leading widget of the menu item
this.leading,
/// [trailing] is the trailing widget of the menu item
this.trailing,
/// [child] is the child widget of the menu item
this.child,
/// [body] is the body widget of the menu item
this.body,
/// [textStyle] is the text style of the menu item
this.textStyle,
/// [onTap] is the function of the menu item
this.onTap,
/// [isTapped] is the state of the menu item
this.isTapped = false,
});