isButton property

bool get isButton

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

Implementation

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

Implementation

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