flutter_assets_manager_class_generator
- To help Flutter developpers kick start in thier large projects by creating the
AppAssets
class containing the image assets asstatic const String
membes.
- Download the script file
image_class_gen_script.sh
to your device. - Go to download directory then Run the script using git bash or bash terminal using this command:
bash image_class_gen_script.sh
. - Enter the path of images folder you want to create the class upon.
- Congrats🎉🎊 your file is ready to use, You can find it in the same folder of the images, The file name is
assets_manager.dart
.
- ⚠ Image file names cannot contain spaces.
- ⚠ Input path must contain only forward slashes
/
, Back slashes\
are not allowed.
images to map
:output: