selected property Null safety

bool? selected

If non-null, sets the SemanticsConfiguration.isSelected semantic to the given value.

Implementation

bool? get selected => _selected;
void selected=(bool? value)

Implementation

set selected(bool? value) {
  if (selected == value)
    return;
  _selected = value;
  markNeedsSemanticsUpdate();
}