gits_cached_network_image 1.0.3 copy "gits_cached_network_image: ^1.0.3" to clipboard
gits_cached_network_image: ^1.0.3 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
150
points
151
downloads

Publisher

verified publishergits.id

Weekly Downloads

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

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, hive, http

More

Packages that depend on gits_cached_network_image