An open API service indexing awesome lists of open source software.

https://github.com/devmuaz/flutter-image-assets

A simple VS Code extension which helps you generate your image assets in 1x, 2x, and 3x and simply added them to your pubspec.yaml file.
https://github.com/devmuaz/flutter-image-assets

assets dart flutter generator image vscode-extension

Last synced: 3 months ago
JSON representation

A simple VS Code extension which helps you generate your image assets in 1x, 2x, and 3x and simply added them to your pubspec.yaml file.

Awesome Lists containing this project

README

        

# Flutter Image Asset Generator

A simple [Visual Studio Code](https://code.visualstudio.com/) extension which helps you generate your image assets in 1x, 2x, and 3x and simply added them to your pubspec.yaml file.

## Usage

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 Assets: Generate`:


Flutter Image Assets Preview

Click on it and select the image you want to add.. after that, the selected image will be scaled down to 1x, 2x, and 3x in seprated directories.


Flutter Image Assets Preview

## 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.. and it will be added soon as possible.

## Medium articles by the author

You can always read the articles I write on my [devmuaz](https://devmuaz.medium.com/) medium account which I write pretty great Flutter content out there.

## 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!**