Circle constructor
const
Circle({
- required CircleId circleId,
- bool consumeTapEvents = false,
- Color fillColor = Colors.transparent,
- LatLng center = const LatLng(0.0, 0.0),
- double radius = 0,
- Color strokeColor = Colors.black,
- int strokeWidth = 10,
- bool visible = true,
- int zIndex = 0,
- VoidCallback? onTap,
- required CenterChangedCallback? onCenterChanged,
- required RadiusChangedCallback? onRadiusChanged,
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,
required this.onCenterChanged,
required this.onRadiusChanged,
// this.onTap2,
});