expandAction property

ExpandAction? get expandAction

Implementation

ExpandAction? get expandAction => _expandAction.value;
  1. @Input()
set expandAction (ExpandAction? value)

Expansion state of the menu popup.

Null value means popup is closed, any other value means popup is open. This input is used to pass parameters with the open action. E.g. which element is selected when the popup is focused.

Implementation

@Input()
set expandAction(ExpandAction? value) {
  if (_expandAction.value == value) return;

  _expandAction.value = value;
}