img 0.1.0 img: ^0.1.0 copied to clipboard
Easily paint mirror-tiling images for seamless edge-to-edge textures from any source. Defines Repeat, an expansion on ImageRepeat that enables mirroring, as well as the Widgets, extensions, and method [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add img
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
img: ^0.1.0
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:img/img.dart';