Circle constructor

const Circle({
  1. required CircleId circleId,
  2. required LatLng center,
  3. double radius = 0,
  4. Color strokeColor = Colors.white,
  5. int strokeWidth = 1,
  6. Color fillColor = Colors.transparent,
  7. bool visible = true,
  8. int zIndex = 0,
  9. bool clickable = false,
  10. VoidCallback? onClick,
  11. List<PatternItem> strokePattern = const <PatternItem>[],
})

Implementation

const Circle({
  required this.circleId,
  required this.center,
  this.radius = 0,
  this.strokeColor = Colors.white,
  this.strokeWidth = 1,
  this.fillColor = Colors.transparent,
  this.visible = true,
  this.zIndex = 0,
  this.clickable = false,
  this.onClick,
  this.strokePattern = const <PatternItem>[],
});