Skip to main content

any_source_image 1.1.0 copy "any_source_image: ^1.1.0" to clipboard
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_image

This 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.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:any_source_image/any_source_image.dart';
4
likes
160
points
98
downloads

Documentation

API reference

Publisher

verified publisherkenresoft.com

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#image #cache #avatar #network-image #widget

License

BSD-3-Clause (license)

Dependencies

cached_network_image, flutter

More

Packages that depend on any_source_image