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

A Flutter component package with a demo app for network image loading and caching-ready UI behavior.

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
0
points
662
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter component package with a demo app for network image loading and caching-ready UI behavior.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, xnz_image_core

More

Packages that depend on xnz_image