network_image 0.1.1
network_image: ^0.1.1 copied to clipboard
NetworkImageWidget make your life easy directly call me and feed me with (ImageUrl) or (File) or leave me empty I will automatically set for you default image if you want me to change pass your own us [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add network_image
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
network_image: ^0.1.1
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:network_image/network_image.dart';