CustomMapPage constructor

const CustomMapPage({
  1. Key? key,
  2. required String title,
  3. required List<Marker> markers,
  4. bool showPolyline = false,
  5. VoidCallback? onBack,
  6. LatLng? fallbackPosition,
  7. bool showUserLocation = true,
})

Creates a CustomMapPage with configurable map features.

Implementation

const CustomMapPage({
  Key? key,
  required this.title,
  required this.markers,
  this.showPolyline = false,
  this.onBack,
  this.fallbackPosition,
  this.showUserLocation = true,
}) : super(key: key);