render method

  1. @override
void render(
  1. Canvas canvas
)
override

Implementation

@override
void render(Canvas canvas) {
  if (renderShape) {
    if (hasPaintLayers) {
      for (final paint in paintLayers) {
        canvas.drawCircle(_centerOffset, radius, paint);
      }
    } else {
      canvas.drawCircle(_centerOffset, radius, paint);
    }
  }
}