moroccan_cities 1.2.0
moroccan_cities: ^1.2.0 copied to clipboard
This package represents a utility package for accessing the data of all cities & regions in Morocco, so you can have the option to use it in your app directly without having to search for it or loadin [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add moroccan_cities
With Flutter:
$ flutter pub add moroccan_cities
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
moroccan_cities: ^1.2.0
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:moroccan_cities/moroccan_cities.dart';