Skip to content

anisovdev/flutter-image-fullscreen-viewer

Repository files navigation

Flutter Fullscreen Image Viewer

A Flutter package that provides a customizable fullscreen image viewer with zoom and drag-to-dismiss features.

Features

  • Zoom: Pinch to zoom in and out of images for a closer look.
  • Drag to Dismiss: Swipe down to dismiss the fullscreen image view.

Getting Started

To use this package, add fullscreen_image_viewer as a dependency in your pubspec.yaml file.

dependencies:
  fullscreen_image_viewer: ^1.0.0

Then run:

$ flutter pub get

Preview

preview.gif

Usage

Import the package in your Dart file:

import 'package:fullscreen_image_viewer/fullscreen_image_viewer.dart';

To open the fullscreen image viewer, simply call the open method and pass the list of image URLs:

FullscreenImageViewer.open(
  context: context,
  child: Hero(
    tag: 'hero', 
    child: Image.network('url.png'),
  ),
);

Issues and Feedback

Please report any issues or provide feedback on the GitHub repository.

Acknowledgments

  • Inspired by other Flutter image viewer packages.
  • Special thanks to the Flutter community.

Feel free to contribute to the project and make it even better!

About

Package for fullscreen image viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •