isButton property

bool isButton

Whether the owning RenderObject is a button (true) or not (false).

Implementation

bool get isButton => _hasFlag(SemanticsFlag.isButton);
void isButton= (bool value)

Implementation

set isButton(bool value) {
  _setFlag(SemanticsFlag.isButton, value);
}