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

A powerful image widget that supports network/asset/file/svg images, fallback initials, blurhash, shimmer, and online status badges.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:smart_image/smart_image.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("SmartImage Example")),
        body: Center(
          child: SmartImage(
            imageUrl: "https://picsum.photos/200",
            name: "Ashish Mistry",
            height: 100,
            width: 100,
            useNameAsFallback: true,
            isOnlineBadge: true,
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

A powerful image widget that supports network/asset/file/svg images, fallback initials, blurhash, shimmer, and online status badges.

Homepage
Repository (GitHub)
View/report issues

Topics

#image #avatar #profile #network #caching

Documentation

API reference

License

unknown (license)

Dependencies

auto_size_text, cached_network_image, flutter, flutter_blurhash, flutter_svg, shimmer

More

Packages that depend on smart_image