useMenuForPresets property

bool get useMenuForPresets

Whether to use menu-items-groups for presets for improved accessibility.

Internal flag for safe transition.

Implementation

bool get useMenuForPresets => _useMenuForPresets;
  1. @Input()
set useMenuForPresets (bool value)

Implementation

@Input()
set useMenuForPresets(bool value) {
  _useMenuForPresets = value;
  if (value) {
    _updateValidPresets();
  }
}