image_from_file_or_network 0.0.3 image_from_file_or_network: ^0.0.3 copied to clipboard
This a widget that requires a url and extention of image . This widget will automatically download the image from the url and store locally in a unique name, Also it re uses when the same url is used [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add image_from_file_or_network
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
image_from_file_or_network: ^0.0.3
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:image_from_file_or_network/image_from_file_or_network.dart';