Rectangle<num> bounds

Source

@override
Rectangle<num> get bounds {
  if (_graphics == null) {
    return super.bounds;
  } else if (numChildren == 0) {
    return _graphics.bounds;
  } else {
    return _graphics.bounds.boundingBox(super.bounds);
  }
}