GoogleMapsPickPlace constructor
const
GoogleMapsPickPlace({
- required String apiKey,
- Language mapLanguage = Language.arabic,
- dynamic getResult()?,
- LatLng initialPosition = const LatLng(29.9773, 31.1325),
- bool enableMyLocationButton = true,
- bool enableSearchButton = true,
- Widget loader = const Center(child: CircularProgressIndicator(strokeWidth: 2.0)),
- Widget? doneButton,
- Widget? errorButton,
- double zoomFactor = 5.0,
- MarkerColor markerColor = MarkerColor.red,
- 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);