MapWidget constructor

const MapWidget({
  1. required Marker marker,
  2. required void onMapCreated(
    1. GoogleMapController
    )?,
  3. required dynamic getLocation(
    1. LatLng
    ),
  4. double zoomFactor = 5.0,
  5. required LatLng initialPosition,
  6. Key? key,
})

MapWidget which showing the map and let the user pick the place from it

Implementation

const MapWidget(
    {required this.marker,
    required this.onMapCreated,
    required this.getLocation,
    this.zoomFactor = 5.0,
    required this.initialPosition,
    Key? key})
    : super(key: key);