websafe_network_image 1.0.7
websafe_network_image: ^1.0.7 copied to clipboard

Simple abstraction to be able to detect Web, Android, and iOS without a hard reference to `dart:io`

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub pub add websafe_network_image

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):


dependencies:
  websafe_network_image: ^1.0.7

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:websafe_network_image/websafe_network_image.dart';
1
likes
80
pub points
69%
popularity

Publisher

peifferinnovations.com

Simple abstraction to be able to detect Web, Android, and iOS without a hard reference to `dart:io`

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

cached_network_image, flutter, http, meta

More

Packages that depend on websafe_network_image