getBounds method

  1. @override
Rect getBounds()
override

Implementation

@override
Rect getBounds() {
  if (centerPoint == null) return Rect.zero;
  return Rect.fromCenter(center: centerPoint!, width: 1, height: 1);
}