auto_gen_assets 1.0.5 copy "auto_gen_assets: ^1.0.5" to clipboard
auto_gen_assets: ^1.0.5 copied to clipboard

A Flutter package for automatically generating strongly-typed asset references from your assets directory.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add auto_gen_assets

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

dependencies:
  auto_gen_assets: ^1.0.5

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:auto_gen_assets/auto_gen_assets.dart';
1
likes
150
points
177
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for automatically generating strongly-typed asset references from your assets directory.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, watcher

More

Packages that depend on auto_gen_assets