MenuAction constructor
MenuAction({
- String? title,
- MenuImage? image,
- required VoidCallback callback,
- MenuActionAttributes attributes = const MenuActionAttributes(),
- MenuActionState state = MenuActionState.none,
- SingleActivator? activator,
Implementation
MenuAction({
super.title,
super.image,
required this.callback,
this.attributes = const MenuActionAttributes(),
this.state = MenuActionState.none,
this.activator,
});