MapSvgIcon constructor

MapSvgIcon({
  1. required String path,
  2. Point? anchor,
  3. Point? labelOrigin,
  4. Color fillColor = Colors.black,
  5. double fillOpacity = 1,
  6. Color strokeColor = Colors.black,
  7. double strokeOpacity = 1,
  8. double strokeWeight = 1,
  9. double scale = 1,
  10. double rotation = 0,
})

Implementation

MapSvgIcon({
  required this.path,
  Point? anchor,
  Point? labelOrigin,
  this.fillColor = Colors.black,
  this.fillOpacity = 1,
  this.strokeColor = Colors.black,
  this.strokeOpacity = 1,
  this.strokeWeight = 1,
  this.scale = 1,
  this.rotation = 0,
}) : super(anchor, labelOrigin);