ZoneData constructor

ZoneData({
  1. required LatLong center,
  2. required double radius,
  3. Color color = const Color(0x332196F3),
  4. Color borderColor = const Color(0xFF2196F3),
  5. double borderStrokeWidth = 0.0,
  6. bool useFillColor = true,
  7. Widget? detailWidget,
  8. String detail = '',
  9. String title = '',
  10. void onTap()?,
})

Implementation

ZoneData({
  required this.center,
  required this.radius,
  this.color = const Color(0x332196F3),
  this.borderColor = const Color(0xFF2196F3),
  this.borderStrokeWidth = 0.0,
  this.useFillColor = true,
  this.detailWidget,
  this.detail = '',
  this.title = '',
  this.onTap,
});