button property Null safety

bool? button

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

Implementation

bool? get button => _button;
void button=(bool? value)

Implementation

set button(bool? value) {
  if (button == value)
    return;
  _button = value;
  markNeedsSemanticsUpdate();
}