bounds method

  1. @override
Rectangle bounds()
override

Returns the bounds required to draw this drawable.

Implementation

@override
Rectangle bounds() {
  return Rectangle(minX: 0, minY: 0, maxX: columns ?? 0, maxY: rows ?? 0);
}