Skip to content

Latest commit

 

History

History
 
 

country_generator

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