cached_blurhash 0.0.2
cached_blurhash: ^0.0.2 copied to clipboard
Compact representation of placeholder for an image. Encode a blurry image under 30 characters for instant display like used by Medium. A fork of flutter_blurhash with added support for image caching u [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cached_blurhashThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cached_blurhash: ^0.0.2Alternatively, 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:cached_blurhash/cached_blurhash.dart';