tek_generator 1.3.5 copy "tek_generator: ^1.3.5" to clipboard
tek_generator: ^1.3.5 copied to clipboard

discontinuedreplaced by: resources_generator

An resource class generator for Flutter, like Android resource class R.

Resource generator #

Features #

Generate resource class from assets folder.

Getting started #

Before using this generator, your assets folder must have this structure:

<your-project>
├── <assets-folder>/
   ├── images/ (for images)
   ├── vectors/ (for vector images or svg)
   ├── translations/ (for localizations)
   ├── fonts/ (for fonts)
   ├── scripts/ (for shell scripts)
   ├── configs/ (for JSON configurations)
├── lib/
├── pubspec.yaml

Usage #

Activate executable:

dart pub global activate tek_generator

cd to your ptoject folder:

cd <your-project>

Run the generator:

dart pub global run tek_generator:generate -i <assets-folder> -o <output-folder> -p <optional-package>

where:

  • -i, optional, is the assets folder, default to assets.
  • -o, optional, is the output folder, default to resources.
  • -p, optional, is the package name if assets are in a package/module instead of an application.

Contact #

Contact Nguyen Anh Quan (anhquan7826@gmail.com or quan.na@teko.vn) for more information or requests.

0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

An resource class generator for Flutter, like Android resource class R.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

path

More

Packages that depend on tek_generator