MapViewModel constructor

MapViewModel({
  1. required String customMarkerPath,
  2. required String customMidMarkerPath,
  3. Color boundaryLineColor = Colors.green,
  4. Color fillColor = const Color.fromARGB(77, 0, 255, 0),
})

Creates a MapViewModel with optional custom boundary and fill colors.

Implementation

MapViewModel({
  required this.customMarkerPath,
  required this.customMidMarkerPath,
  this.boundaryLineColor = Colors.green,
  this.fillColor = const Color.fromARGB(77, 0, 255, 0),
});