Shapes constructor

Shapes({
  1. Canvas? canvas,
  2. Paint? paint,
  3. double radius = 1,
  4. Offset center = Offset.zero,
  5. double angle = 0,
})

Implementation

Shapes(
    {this.canvas,
    this.paint,
    this.radius = 1,
    this.center = Offset.zero,
    this.angle = 0}) {
  paint ??= Paint();
}