gits_cached_network_image 1.0.2 copy "gits_cached_network_image: ^1.0.2" to clipboard
gits_cached_network_image: ^1.0.2 copied to clipboard

Flutter library to load and cache network images. Can also be used with loading and error widgets.

example/main.dart

import 'package:flutter/material.dart';
import 'package:gits_cached_network_image/src/gits_cached_network_image.dart';

void main(List<String> args) {
  GitsCachedNetworkImage(
    imageUrl: 'https://picsum.photos/id/2/200',
    loadingBuilder: (context) => const CircularProgressIndicator(),
    errorBuilder: (context, error, stackTrace) => const Icon(Icons.error),
  );
}
5
likes
140
pub points
72%
popularity

Publisher

verified publishergits.id

Flutter library to load and cache network images. Can also be used with loading and error widgets.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter, hive, http

More

Packages that depend on gits_cached_network_image