flutter_resource_generator 1.1.3
flutter_resource_generator: ^1.1.3 copied to clipboard

Dart native

Generator resource class automatically by only one commnad based on build runner and dart script, avoid inputing resource file path manually

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate flutter_resource_generator

2. Use it

The package has the following executables:

$ rgen

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  flutter_resource_generator: ^1.1.3

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:flutter_resource_generator/builder.dart';
import 'package:flutter_resource_generator/resource_config.dart';
import 'package:flutter_resource_generator/resource_generator.dart';
3
likes
90
pub points
2%
popularity

Generator resource class automatically by only one commnad based on build runner and dart script, avoid inputing resource file path manually

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ymyplss@gmail.com

License

MIT (LICENSE)

Dependencies

analyzer, args, build, build_runner, collection, path, source_gen

More

Packages that depend on flutter_resource_generator