xnz_image 0.1.12 copy "xnz_image: ^0.1.12" to clipboard
xnz_image: ^0.1.12 copied to clipboard

Flutter image component for unified loading, downloading, and caching of network/memory/file/asset images, with extensible SVG/AVIF format support.

example/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'xnz_image example',
      home: Scaffold(
        appBar: AppBar(title: const Text('xnz_image Example')),
        body: const Center(
          child: XNZNetworkImage(
            imageUrl: 'https://picsum.photos/300/200',
            width: 300,
            height: 200,
            fit: BoxFit.cover,
          ),
        ),
      ),
    );
  }
}
1
likes
160
points
600
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter image component for unified loading, downloading, and caching of network/memory/file/asset images, with extensible SVG/AVIF format support.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, xnz_image_core

More

Packages that depend on xnz_image