google_map_location_picker_flutter 0.0.104 copy "google_map_location_picker_flutter: ^0.0.104" to clipboard
google_map_location_picker_flutter: ^0.0.104 copied to clipboard

This package for pick or search on google map.

Usage #

    AddressResult result = await  showGoogleMapLocationPicker(
        pinWidget: Icon(Icons.location_pin,color: Colors.red,size: 55,),
        pinColor: Colors.blue,
        context: context,
        addressPlaceHolder: "حرك الخريطة",
        addressTitle: "عنوان التوصيل",
        apiKey: "",
        appBarTitle: "حدد موقع التوصيل",
        confirmButtonColor: Colors.blue,
        confirmButtonText: "تأكيد الموقع",
        confirmButtonTextColor: Colors.black,
        country:"sa",
        language:"ar" ,
        searchHint: "ابحث عن موقع", initialLocation: LatLng(26,39)
    );
    if(result!=null){
     print(result.address)
    }