xnz_image 0.2.2
xnz_image: ^0.2.2 copied to clipboard
Flutter image component for unified loading, downloading, and caching of network/memory/file/asset images, with extensible SVG/AVIF format support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add xnz_imageWith Flutter:
$ flutter pub add xnz_imageThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
xnz_image: ^0.2.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:xnz_image/xnz_image.dart';