rect property Null safety
The bounds of this element.
Implementation
Rectangle<int> get rect {
final location = this.location;
final size = this.size;
return Rectangle<int>(location.x, location.y, size.width, size.height);
}
The bounds of this element.
Rectangle<int> get rect {
final location = this.location;
final size = this.size;
return Rectangle<int>(location.x, location.y, size.width, size.height);
}