MFCircle constructor

const MFCircle({
  1. required MFCircleId circleId,
  2. bool consumeTapEvents = false,
  3. Color fillColor = Colors.transparent,
  4. MFLatLng center = const MFLatLng(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 MFCircle to draw on Map4dMap.

Implementation

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