A widget that loads a network image in flutter can set loading, progress, error, alt.
import 'package:flutter/material.dart'; import 'package:flutter_imagenetwork/flutter_imagenetwork.dart' AjanuwImage( image: AjanuwNetworkImage('https://i.loli.net/2019/10/01/CVBu2tNMqzOfXHr.png'), fit: BoxFit.cover, loadingWidget: AjanuwImage.defaultLoadingWidget, loadingBuilder: AjanuwImage.defaultLoadingBuilder, errorBuilder: AjanuwImage.defaultErrorBuilder, ) AjanuwImage( image: AjanuwNetworkImage('https://i.loli.net/2019/10/01/CVBu2tNMqzOfXHr.png'), frameBuilder: AjanuwImage.defaultFrameBuilder, )
[0.3.2] - 2019-10-27
[0.3.1] - 2019-10-26
[0.3.0] - 2019-9-18
- Adapt to Fluter WEB
[0.2.2] - 2019-8-6
[0.2.2] - 2019-8-6
[0.2.1] - 2019-8-6
[0.2.0] - 2019-8-6
[0.1.1] - 2019-8-5
[0.1.0] - 2019-8-5
- A widget that loads a network image in flutter can set loading, progress, error, alt.
A new Flutter project.
Getting Started #
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: flutter_imagenetwork: ^0.3.2
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Jan 27, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.4
- Flutter: 1.12.13+hotfix.5
flutter format to format