assets_generator_kit 1.0.0 copy "assets_generator_kit: ^1.0.0" to clipboard
assets_generator_kit: ^1.0.0 copied to clipboard

Generate typed Flutter asset accessors for SVG, Lottie, image, and generic assets.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate assets_generator_kit

Use it

The package has the following executables:

$ assets_generator_kit

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add assets_generator_kit

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  assets_generator_kit: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:assets_generator_kit/assets_generator_kit.dart';
0
likes
160
points
79
downloads

Documentation

API reference

Publisher

verified publisherpinz.dev

Weekly Downloads

Generate typed Flutter asset accessors for SVG, Lottie, image, and generic assets.

Repository (GitHub)
View/report issues

Topics

#assets #generator #flutter #svg #lottie

License

MIT (license)

Dependencies

build, flutter, flutter_svg, lottie, path, yaml

More

Packages that depend on assets_generator_kit