fsa 0.0.3
fsa: ^0.0.3 copied to clipboard
Flutter Smart Assets - CLI tool that auto-scans assets/fonts and generates strongly-typed Dart constants with auto-updated pubspec.yaml
Changelog #
All notable changes to this project will be documented in this file.
0.0.3 - 2025-10-20 #
Docs & UX Improvements #
- Updated README with clearer installation and usage instructions.
0.0.2 - 2025-10-19 #
Docs & UX Improvements #
- Replaced
log()withprint()to ensure console output is visible when runningfsa generate. - Updated README with clearer installation and usage instructions.
Bug Fixes #
- Fixed an issue where re-running
fsa generatewould duplicate thefonts:block inpubspec.yaml, causing aDuplicate mapping keyerror.
Behavior Fixes #
- Finalized font grouping strategy to keep font families separate (case-sensitive) rather than merging similar names.
- Skipped implementation of removed-assets/fonts logging for now (only additions printed in CLI).
0.0.1 - 2025-10-17 #
- Initial release
- CLI:
fsa generateto scanassets/andfonts/and produce outputs. - Pubspec editor: rewrites
flutter:→assets:andfonts:as explicit multiline blocks. - Generator: creates
lib/core/assets/app_assets.dartwith:- Uppercase constants preserving file format suffixes (e.g.
LOGO_PNG). - Grouped classes per top-level asset folder and an aggregator
AppAssets. AppFontFamiliesfor discovered font families.
- Uppercase constants preserving file format suffixes (e.g.
- Safe-mode behavior: preserves stable order and avoids destructive edits.
- README and basic package metadata.
- CLI:
[Unreleased] #
- Prepare for enhancements: better tests, more robust scanning, CLI flags (future).