cached_network_image_widget 1.0.0 copy "cached_network_image_widget: ^1.0.0" to clipboard
cached_network_image_widget: ^1.0.0 copied to clipboard

A Flutter package providing advanced CachedNetworkImage and SVG image caching with BlurHash placeholders and shimmer effects.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:cached_network_image_widget/cached_network_image_widget.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Cached Network Image Widget Example'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: const [
              CachedNetworkImageWidget(
                'https://picsum.photos/300/200',
                height: 200,
                width: 300,
                borderRadius: BorderRadius.all(Radius.circular(16)),
              ),
              SizedBox(height: 20),
              CachedNetworkSvgWidget(
                'https://dev.w3.org/SVG/tools/svgweb/samples/svg-files/android.svg',
                height: 100,
                width: 100,
                color: Colors.green,
              ),
            ],
          ),
        ),
      ),
    );
  }
}
2
likes
130
points
67
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing advanced CachedNetworkImage and SVG image caching with BlurHash placeholders and shimmer effects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

cached_network_image, cached_network_svg_image, flutter, flutter_animate, flutter_blurhash, flutter_cache_manager

More

Packages that depend on cached_network_image_widget