isOptionEnabled property
Whether an option can be taken; null: all can. A disabled option shows WidgetState.disabled; the highlight passes over it, and neither a tap nor Enter takes it.
Implementation
final bool Function(T option)? isOptionEnabled;
Whether an option can be taken; null: all can. A disabled option shows WidgetState.disabled; the highlight passes over it, and neither a tap nor Enter takes it.
final bool Function(T option)? isOptionEnabled;