location_picker_text_field

Last updated:

0 purchases

location_picker_text_field Image
location_picker_text_field Images
Add to Cart

Description:

location picker text field

Location Picker Text Field
A Location Picker Text Field (autocomplete) widget for Flutter, where you can show any location suggestions to users as they type.


Features #

Shows suggestions in an floating box with the same width as your TextField.
Allows to get the Latitude and Longitude of selected location.

Usage #
You can import the package with:
import 'package:location_picker_text_field/open_street_location_picker.dart';
copied to clipboard
Use this code for easy development
TextEditingController locationName = TextEditingController();
Container(
padding: const EdgeInsets.fromLTRB(10, 5, 10, 5),
child: LocationPicker(
label: "From",
controller: locationName,
onSelect: (data){
locationName.text = data.displayname;
},
),
)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.