MapScreen constructor

const MapScreen({
  1. Key? key,
  2. required String apiKey,
  3. required String appBarTitle,
  4. List<LatLng>? polygonPoints,
  5. required String searchHint,
  6. required String addressTitle,
  7. required String confirmButtonText,
  8. required String language,
  9. String country = "",
  10. required Color confirmButtonColor,
  11. required Color pinColor,
  12. required Color confirmButtonTextColor,
  13. required String addressPlaceHolder,
  14. required Widget pinWidget,
  15. required LatLng initialLocation,
})

Implementation

const MapScreen(
    {Key? key,
      required this.apiKey,
      required this.appBarTitle,
      this.polygonPoints,
      required this.searchHint,
      required this.addressTitle,
      required this.confirmButtonText,
      required this.language,
      this.country="",
      required this.confirmButtonColor,
      required this.pinColor,
      required this.confirmButtonTextColor,
      required this.addressPlaceHolder, required this.pinWidget, required this.initialLocation})
    : super(key: key);