country_state_picker_plus 1.0.0+1 copy "country_state_picker_plus: ^1.0.0+1" to clipboard
country_state_picker_plus: ^1.0.0+1 copied to clipboard

Country state picker

country_state_picker_plus is a Flutter package that provides a customizable picker widget for selecting a country, state, and city from a dropdown list. It is designed to make it easy for developers to integrate a picker widget for selecting countries, states, and cities into their Flutter projects.

With country_state_picker_plus, you can customize the appearance of the picker widget by setting properties of DropdownButton and InputDecoration. Additionally, the package supports multiple languages and locales, making it easy to create a picker widget that can be used in various countries and regions around the world.

Features #

  • Select a country, state, and city from a dropdown list.
  • Customize the appearance of the picker widget with properties of DropdownButton and InputDecoration.
  • Provides an onChanged callback that is triggered when the user selects a value from the picker widget.
  • Lightweight and easy to use, with minimal setup required to integrate into a Flutter project.

Example #

CountryStatePickerPlus(
  onCityChanged: (value) {
    result += ' $value';
  },
  onCountryChanged: (value) {
    result = value;
  },
  onStateChanged: (value) {
    result += ' $value';
  },
);

Screenshot

Special Thanks #

  • countries-states-cities-database
17
likes
130
points
9
downloads

Publisher

unverified uploader

Weekly Downloads

Country state picker

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on country_state_picker_plus