rect property

Future<Rectangle<int>> rect

The bounds of this element.

Implementation

Future<Rectangle<int>> get rect async {
  final location = await this.location;
  final size = await this.size;
  return Rectangle<int>(location.x, location.y, size.width, size.height);
}