bounds property

Rect bounds

Returns the buffer as a bounding rectangle.

The returned rectangle has the same dimensions as the buffer and is anchored at the origin (0, 0).

Implementation

Rect get bounds => Rect.fromLTWH(0, 0, width, height);