FLUTTER ECOSYSTEM

country_state_city

A flutter package to display list of Countries, States and Cities depends on a given country

Latest version
0.1.6
30-day downloads
8.9K
Likes
39
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Flutter package that provides a simple way to display lists of countries, states, and cities based on the selected country. It enables dynamic population of state and city dropdowns, making it ideal for forms requiring location-based data entry. The package supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, ensuring cross-platform consistency. It is lightweight and easy to integrate with minimal setup required.

Use cases
  • Form inputs requiring location selection
  • Dynamic state and city dropdowns
  • User registration with location fields
  • E-commerce shipping address collection
  • Multi-language location support
Key features
  • Auto-populates states and cities based on country
  • Supports all major platforms
  • Lightweight and easy to integrate
  • Preloaded data for global locations
  • Simple API with minimal configuration
Suitable for
  • Developers building international apps
  • Apps needing dynamic location selection
  • Forms with country-state-city hierarchies
  • Cross-platform applications requiring location data
Considerations
  • Requires internet for initial data loading (if not bundled)
  • Limited customization of UI components
  • Data set size may affect initial load time
  • No built-in localization support
  • Depends on external data source for accuracy
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add country_state_city

Categories

Source repository

Related projects

No data available yet.