csc 0.0.4 copy "csc: ^0.0.4" to clipboard
csc: ^0.0.4 copied to clipboard

A package to get information about countries like states and cities information

CSC #

A Flutter package to get information about each country.

Features #

  • Viewing countries' names with states and cities details.

Getting started #

To use this package, add CSC as a dependency in your pubspec.yaml file.

Usage #

import 'package:csc/csc.dart';

CSC.select_property;

Future<List<Country>> CSC.countries

By Name:
Future<bool> CSC.countryExistsByName(String name)
Future<Country> CSC.countryByName(String name)
Future<bool> CSC.countryHasStatesByName(String countryName)
Future<List<State>> CSC.countryStatesByName(String countryName)
Future<bool> CSC.stateExistsByName(String countryName, String stateName)
Future<State> CSC.stateByName(String countryName, String stateName)
Future<bool> CSC.stateHasCitiesByName(String countryName, String stateName)
Future<List<City>> CSC.stateCitiesByName(String countryName, String stateName)
Future<bool> CSC.cityExistsByName(String countryName, String stateName, String cityName)
Future<City> CSC.cityByName(String countryName, String stateName, String cityName)

By Code:
Future<bool> CSC.countryExistsByCode(String code)
Future<Country> CSC.countryByCode(String code)
Future<bool> CSC.countryHasStatesByCode(String countryCode)
Future<List<State>> CSC.countryStatesByCode(String countryCode)
Future<bool> CSC.stateExistsByCode(String countryCode, String stateCode)
Future<State> CSC.stateByCode(String countryCode, String stateCode)
Future<bool> CSC.stateHasCitiesByCode(String countryCode, String stateCode)
Future<List<City>> CSC.stateCitiesByCode(String countryCode, String stateCode)
Future<bool> CSC.cityExistsByCode(String countryCode, String stateCode, String cityName)
Future<City> CSC.cityByCode(String countryCode, String stateCode, String cityName)
1
likes
0
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A package to get information about countries like states and cities information

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on csc