assets_indexer 0.0.6 copy "assets_indexer: ^0.0.6" to clipboard
assets_indexer: ^0.0.6 copied to clipboard

outdated

To generate indexed constants for your assets in dart/flutter project! Inspired by android R.java concept

[0.0.1] - Initial Release #

  • Just implemented indexer functionality
  • Each asset directory will be generated as its separate class

[0.0.2] - File Name bug fixed #

  • Fixed bug when filename starts from number
  • Added validation to skip filenames matching with language keywords

[0.0.3] - Version conflict issue resolved #

  • Version conflicts issue resolved with build_runner for both older and new dependents
  • Example added
  • Multiple directories with same name will be merged in same class and can be differentiated by their parent dir name prefix

[0.0.4] - Added font family names indexing 🥳 #

  • Now when you add flutter > fonts in your pubspec.yaml, it will automatically indexed in app_fonts.asset.dart class which can be referenced by AppFonts.

[0.0.5] - Bugs Fixes #

  • Bugs fixes

[0.0.6] - Breaking changes - Bugs Fixes #

  • Fixed indexing for new files in existing dir
  • Auto removing files from generated dir when dir is removed
  • Null-safety opt-in
  • Now assets dirs are linked to pubspec.yaml declarations from flutter > assets list
17
likes
0
pub points
0%
popularity

Publisher

verified publisherishaqhassan.com

To generate indexed constants for your assets in dart/flutter project! Inspired by android R.java concept

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build, mustache, numbers_to_words, path, quartet, yaml

More

Packages that depend on assets_indexer