isDown property

bool get isDown

Implementation

bool get isDown {
  return this == ButtonState.down;
}