any_source_image 1.1.0
any_source_image: ^1.1.0 copied to clipboard
One image widget for any source: a network URL (cached), an asset path or a File. With placeholder, fallback and error handling, a circular avatar, and a background widget.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add any_source_imageThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
any_source_image: ^1.1.0Alternatively, 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:any_source_image/any_source_image.dart';