country_generator 4.1.1 copy "country_generator: ^4.1.1" to clipboard
country_generator: ^4.1.1 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

1
likes
120
pub points
6%
popularity

Publisher

unverified uploader

A generator for generating country object from countries json.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

build, collection, country, path, yaml

More

Packages that depend on country_generator