action property

  1. @override
MenuAction? get action
override

Implementation

@override
MenuAction? get action => _action;
  1. @override
set action (MenuAction? value)
override

Implementation

@override
set action(MenuAction? value) {
  if (value == _action) return;

  _action = value;
  _actionWithContext = (_) => value!();
  notifyPropertyChange(#action, _action, value);
}