image_tool 0.2.2 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
Install it
You can install the package from the command line:
dart pub global activate image_tool
Use it
The package has the following executables:
$ imgtool
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_tool
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter 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.
Import it
Now in your Dart code, you can use:
import 'package:image_tool/image_tool.dart';