MFCircle constructor
const
MFCircle({
- required MFCircleId circleId,
- bool consumeTapEvents = false,
- Color fillColor = Colors.transparent,
- MFLatLng center = const MFLatLng(0.0, 0.0),
- double radius = 0,
- Color strokeColor = Colors.black,
- int strokeWidth = 10,
- bool visible = true,
- int zIndex = 0,
- 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,
});