isButton property

bool get isButton

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

Implementation

bool get isButton => _flags.isButton;
set isButton (bool value)

Implementation

set isButton(bool value) {
  _flags = _flags.copyWith(isButton: value);
  _hasBeenAnnotated = true;
}