instant_image_painter 0.0.1 instant_image_painter: ^0.0.1 copied to clipboard
Simple Image Painter for precached Images, showing instantly after build without pop in
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add instant_image_painter
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
instant_image_painter: ^0.0.1
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:instant_image_painter/image_loader.dart';
import 'package:instant_image_painter/image_painter.dart';
import 'package:instant_image_painter/precached_image_painter.dart';
import 'package:instant_image_painter/ui_image_painter.dart';