FlutterMap constructor

FlutterMap({
  1. Key? key,
  2. required MapOptions options,
  3. List<LayerOptions> layers = const [],
  4. List<Widget> children = const [],
  5. MapController? mapController,
  6. dynamic returnPositionTapped(
    1. LatLng?,
    2. double? zoom
    )?,
  7. bool absorbDoubleTapPointer = false,
})

Implementation

FlutterMap({
  Key? key,
  required this.options,
  this.layers = const [],
  this.children = const [],
  MapController? mapController,
  this.returnPositionTapped,
  this.absorbDoubleTapPointer = false,
})  : _mapController = mapController as MapControllerImpl? ??
          MapController() as MapControllerImpl,
      super(key: key);