country_generator 2.0.0 icon indicating copy to clipboard operation
country_generator: ^2.0.0 copied to clipboard

A generator for generating country object from countries json.

country_generator #

A generator for generating country in dart with countries.

Getting Started #

Install #

Add the following lines in your pubspec.yaml file

dev_dependencies:
  build_runner: ^latest_version
  country_generator: ^latest_version

pub package

Configure #

Add configuration at the bottom or add nothing to use default path

  • default:
country_generator:
  sourceFolder: countries
  outputFolder: lib/gen
  • customize
country_generator:
  sourceFolder: your/submodule/path
  outputFolder: your/output/path

Run #

flutter packages pub run build_runner build

Maintainer #

Jack Liu

0
likes
110
pub points
5%
popularity

Publisher

unverified uploader

A generator for generating country object from countries json.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

build, collection, country, path, yaml

More

Packages that depend on country_generator