0 purchases
country state picker plus
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';
},
);
copied to clipboard
Special Thanks #
countries-states-cities-database
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.