image_tool: ^0.2.2 copied to clipboard
A Flutter package that organizes image's resolution variants inside your asset's folder. Add image list to pubspec.yaml for flutter packages.
Use this package as an executable
1. Install it
You can install the package from the command line:
$ dart pub global activate image_tool
The package has the following executables:
Use this package as a library
Depend on it
Run this command:
$ flutter pub add image_tool
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: image_tool: ^0.2.2
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use: