Skip to content

mistak1992/flutter-image-asset-tool

Repository files navigation

flutter-image-asset-tool

A simple Visual Studio Code extension(Base on extension Flutter Image Asset Generator) which helps you generate your image assets from 3x to 1x, 2x. And rename your image before add to your assets folder.

In China, we usually generate 1x and 3x image from 3x. such as "蓝湖". That is the part different from extension Flutter Image Asset Generator).

Usage

  1. After installing the extension, you should see a new option has been added your context menu when you right click on any folder inside the Explorer section named Flutter-image-asset-tool: Add Image:

  2. Click on it and select the image you want to add.. after that, the selected image will be choosen.

  3. Modify Image name in the InputBox, and click confirm to the name of image.It will scaled down to 1x, 2x in seprated directories.

Known Issues

Currently, this extension only generates the scaled images.. but not adding them to the pubspec.yaml file so you have to add them yourself.

Inspiration

Thanks for devmuaz. you can find more detail in project flutter-image-assets

Contributions & Support

Issues and pull requests are always welcome 😄

If you found this extension useful for you and liked it, please star the repo ⭐️ it would mean a lot!

License

MIT

Enjoy!

About

flutter image asset generate from 3x image

Resources

License

Stars

Watchers

Forks

Packages

No packages published