photo_opener 0.2.9 copy "photo_opener: ^0.2.9" to clipboard
photo_opener: ^0.2.9 copied to clipboard

Telegram-style full-screen image viewer for Flutter. Pinch to zoom, swipe between images, thumbnails, swipe-down to dismiss. Supports network, assets, and local files.

example/lib/main.dart

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

void main() {
  runApp(const MaterialApp(home: App()));
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Photo Opener Example')),
      body: Center(
        child: GestureDetector(
          onTap: () {
            onOpenPhoto(
              context: context,
              images: [
                'https://picsum.photos/id/1/1024/768',
                'https://picsum.photos/id/2/1024/768',
                'https://picsum.photos/id/3/1024/768',
              ],
              type: PhotoType.network,
            );
          },
          child: const Text('Open Images'),
        ),
      ),
    );
  }
}
16
likes
150
points
426
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Telegram-style full-screen image viewer for Flutter. Pinch to zoom, swipe between images, thumbnails, swipe-down to dismiss. Supports network, assets, and local files.

Repository (GitHub)
View/report issues

Topics

#image #gallery #viewer #zoom #fullscreen

License

MIT (license)

Dependencies

cached_network_image, flutter, photo_view

More

Packages that depend on photo_opener