toggled property Null safety

bool? toggled

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

Implementation

bool? get toggled => _toggled;
void toggled=(bool? value)

Implementation

set toggled(bool? value) {
  if (_toggled == value)
    return;
  _toggled = value;
  markNeedsSemanticsUpdate();
}