GoogleMapsPickPlace constructor

const GoogleMapsPickPlace({
  1. required String apiKey,
  2. Language mapLanguage = Language.arabic,
  3. dynamic getResult(
    1. FullAddress
    )?,
  4. LatLng initialPosition = const LatLng(29.9773, 31.1325),
  5. bool enableMyLocationButton = true,
  6. bool enableSearchButton = true,
  7. Widget loader = const Center(child: CircularProgressIndicator(strokeWidth: 2.0)),
  8. Widget? doneButton,
  9. Widget? errorButton,
  10. double zoomFactor = 5.0,
  11. MarkerColor markerColor = MarkerColor.red,
  12. Key? key,
})

Implementation

const GoogleMapsPickPlace({
  required this.apiKey,
  this.mapLanguage = Language.arabic,
  this.getResult,
  this.initialPosition = const LatLng(29.9773, 31.1325),
  this.enableMyLocationButton = true,
  this.enableSearchButton = true,
  this.loader = const Center(child: CircularProgressIndicator(strokeWidth: 2.0)),
  this.doneButton,
  this.errorButton,
  this.zoomFactor = 5.0,
  this.markerColor = MarkerColor.red,
  Key? key,
}) : super(key: key);