country_state_city_pro
0.0.6, released 3 years ago by an unverified publisher
A Flutter package to get and select world's countries, states, and cities.
What it does
Provides a searchable picker widget to select a country, state, and city using TextEditingControllers. Users can also manually type a city if it cannot be found in the list.
AI-written summary of version 0.0.6, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a form input for country, state, and city selection.
- You want built-in search functionality for geographic locations.
Skip it when
- You need complex maps or geolocation features rather than a text-based picker.
Strengths
- Includes searchable dialog windows for countries, states, and cities.
- Allows manual city input if not found in the dataset.
- Easy to customize with text field decorations and dialog colors.
Weaknesses
- Limited documentation regarding offline data sources or updates.
- No explicit handling for translated country or state names.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documented
CountryStateCityPicker(
country: country,
state: state,
city: city,
dialogColor: Colors.grey.shade200,
)Alternatives
Packages that do the same job and could replace country_state_city_pro.
- countrify
Country, state, and city picker with 250 countries and phone input fields.
62Compare - world_countries
Compile-time sealed world data with country, currency, language, and phone pickers.
80Compare - country_state_city_picker
Flutter package to select countries, states, and cities using pickers.
58Compare - country_state_city
Display a list of world-wide countries, states, and cities depending on given country.
48Compare