custom_cached_network_image 0.0.1 copy "custom_cached_network_image: ^0.0.1" to clipboard
custom_cached_network_image: ^0.0.1 copied to clipboard

Custom cached Network Image

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const NetworkImageExample(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
        child: CustomCachedNetworkImage(
          imageUrl: "https://picsum.photos/200",
        ),
      ),
    );
  }
}
0
likes
150
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Custom cached Network Image

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, flutter

More

Packages that depend on custom_cached_network_image