MenuAction constructor

MenuAction({
  1. String? title,
  2. MenuImage? image,
  3. required VoidCallback callback,
  4. MenuActionAttributes attributes = const MenuActionAttributes(),
  5. MenuActionState state = MenuActionState.none,
  6. SingleActivator? activator,
})

Implementation

MenuAction({
  super.title,
  super.image,
  required this.callback,
  this.attributes = const MenuActionAttributes(),
  this.state = MenuActionState.none,
  this.activator,
});