lazy_asset_generator 1.5.0 copy "lazy_asset_generator: ^1.5.0" to clipboard
lazy_asset_generator: ^1.5.0 copied to clipboard

A Flutter code generator that creates strongly-typed asset access classes based on your project’s asset folders. It scans the directories defined in your pubspec and automatically builds typed helpers [...]

example/lib/main.dart

import 'asset_manager.dart';

void main() {
  final assets = AssetManager();
  print(assets.images.marketing.banner);
  print(assets.data.config);
}
1
likes
150
points
16
downloads

Documentation

API reference

Publisher

verified publisheryannvanneth.dev

Weekly Downloads

A Flutter code generator that creates strongly-typed asset access classes based on your project’s asset folders. It scans the directories defined in your pubspec and automatically builds typed helpers for cleaner and safer asset usage.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

build, glob, path, source_gen

More

Packages that depend on lazy_asset_generator