location_picker_text_field 0.2.4 copy "location_picker_text_field: ^0.2.4" to clipboard
location_picker_text_field: ^0.2.4 copied to clipboard

PlatformiOSweb

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.

Success Status Success Status

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';

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;
      },
    ),
  )
2
likes
100
pub points
44%
popularity

Publisher

unverified uploader

Location Picker Text Field

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_typeahead, http, latlong2

More

Packages that depend on location_picker_text_field