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.
- Host: GitHub
- URL: https://github.com/devmuaz/flutter-image-assets
- Owner: devmuaz
- License: mit
- Created: 2021-11-24T15:25:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-25T01:11:11.000Z (over 3 years ago)
- Last Synced: 2025-03-25T22:21:52.717Z (3 months ago)
- Topics: assets, dart, flutter, generator, image, vscode-extension
- Language: JavaScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=devmuaz.flutter-image-assets
- Size: 1.12 MB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
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`:
![]()
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.
![]()
## 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!**