MyLocationStyle constructor

MyLocationStyle({
  1. String? myLocationIcon,
  2. double? anchorU = 0.5,
  3. double? anchorV = 0.5,
  4. Color? radiusFillColor = const Color(0xff0000dc),
  5. Color? strokeColor = const Color(0x640000b4),
  6. double? strokeWidth = 1,
  7. int? myLocationType = LOCATION_TYPE_LOCATION_ROTATE,
  8. int? interval = 2000,
  9. bool? showMyLocation = true,
  10. bool? showsAccuracyRing = true,
  11. bool? showsHeadingIndicator = false,
  12. Color? locationDotBgColor = Colors.white,
  13. Color? locationDotFillColor = Colors.blue,
  14. bool? enablePulseAnnimation = true,
  15. String? image,
})

Implementation

MyLocationStyle({
  this.myLocationIcon,
  this.anchorU = 0.5,
  this.anchorV = 0.5,
  this.radiusFillColor = const Color(0xff0000dc),
  this.strokeColor = const Color(0x640000b4),
  this.strokeWidth = 1,
  this.myLocationType = LOCATION_TYPE_LOCATION_ROTATE,
  this.interval = 2000,
  this.showMyLocation = true,
  this.showsAccuracyRing = true,
  this.showsHeadingIndicator = false,
  this.locationDotBgColor = Colors.white,
  this.locationDotFillColor = Colors.blue,
  this.enablePulseAnnimation = true,
  this.image,
});