Circle constructor

Circle({
  1. required double cx,
  2. required double cy,
  3. required double r,
  4. String? id,
  5. Color? fill,
  6. Color? stroke,
  7. StrokeWidth? strokeWidth,
  8. StrokeDasharray? strokeDasharray,
  9. String? style,
  10. String? transform,
  11. Unit? unit,
  12. Visibility? visibility = Visibility.inherit,
})

Circle constructor cx center x coordinate of the circle cy center y coordinate of the circle r circle radius id widget id to made some reference in the SVG file fill fill color stroke stroke line color strokeWidth stroke line width strokeDasharray stroke line dash style style custom css style transform custom css transformation unit unit used in the parameters, default is px (pixel) visibility visibility of the element, default is inherit

Implementation

Circle(
    {required this.cx,
    required this.cy,
    required this.r,
    this.id,
    this.fill,
    this.stroke,
    this.strokeWidth,
    this.strokeDasharray,
    this.style,
    this.transform,
    this.unit,
    this.visibility = Visibility.inherit});