Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 835 Bytes

README.md

File metadata and controls

39 lines (31 loc) · 835 Bytes

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