country_city_kit 1.1.1
country_city_kit: ^1.1.1 copied to clipboard
A lightweight Flutter package for countries, states, and cities.
country_city_kit #
A lightweight and easy-to-use Flutter package for accessing countries, states, and cities data.
Preview #

Screenshots #
| Select Country | Select State / City | Selected Result |
|---|---|---|
![]() |
![]() |
![]() |
β¨ Features #
- π Get all countries
- ποΈ Get states by country
- π Get cities by state
- β‘ Lightweight and fast
- π§© Simple API
- π Flutter friendly
- π« No external dependencies
π Installation #
Add this to your pubspec.yaml:
dependencies:
country_city_kit: ^1.0.0
Then run:
flutter pub get
π¦ Import #
import 'package:country_city_kit/country_city_kit.dart';
π οΈ Usage #
Get All Countries #
final countries = await CountryCityKit.getCountries();
print(countries);
Get States by Country #
final states = await CountryCityKit.getStates('Bangladesh');
print(states);
Get Cities by State #
final cities = await CountryCityKit.getCities(
country: 'Bangladesh',
state: 'Dhaka',
);
print(cities);
π Example Output #
[Bangladesh, India, Pakistan]
π» Platform Support #
| Platform | Supported |
|---|---|
| Android | β |
| iOS | β |
| Web | β |
| Windows | β |
| macOS | β |
| Linux | β |
πΊοΈ Roadmap #
- Country flag support
- ISO code support
- Phone code support
- Search functionality
- Country picker widgets
- Localization support
π€ Contributing #
Contributions are welcome!
Feel free to open issues or submit pull requests on GitHub.
π License #
This package is licensed under the MIT License.



