Circle constructor

const Circle({
  1. required CircleId circleId,
  2. bool consumeTapEvents = false,
  3. Color fillColor = Colors.transparent,
  4. LatLng center = const LatLng(0.0, 0.0),
  5. double radius = 0,
  6. Color strokeColor = Colors.black,
  7. int strokeWidth = 10,
  8. bool visible = true,
  9. int zIndex = 0,
  10. VoidCallback? onTap,
})

Creates an immutable representation of a Circle to draw on GoogleMap.

Implementation

const Circle({
  required this.circleId,
  this.consumeTapEvents = false,
  this.fillColor = Colors.transparent,
  this.center = const LatLng(0.0, 0.0),
  this.radius = 0,
  this.strokeColor = Colors.black,
  this.strokeWidth = 10,
  this.visible = true,
  this.zIndex = 0,
  this.onTap,
});