facebook_image_viewer_2 1.0.0 copy "facebook_image_viewer_2: ^1.0.0" to clipboard
facebook_image_viewer_2: ^1.0.0 copied to clipboard

A simple widget for small screen with swipe to dismiss, double tap zoom && traditional zoom.

A simple widget for small screen with swipe to dismiss, double tap zoom && traditional zoom.

Screenrecorder-2022-12-13-11-25-48-782_0__1__AdobeExpress

Features #

  • Show a single image in a small screen mode.
  • Double tap to zoom in image.
  • Nice swipe animation (like in Facebook) to dismiss full screen mode.

Getting started #

simply call the package name to start using it.

Usage #

class MyHomePage extends StatelessWidget {
  const MyHomePage() : super();

  @override
  Widget build(BuildContext context) {
    return const FacebookImageView(
        image:
        "https://th.bing.com/th/id/R.0cfe3cb86925753834d56c792931315c?rik=GA0RqPxgQyA0KA&pid=ImgRaw&r=0");
  }
}

Additional information #

. When using this package it will open a new screen route so it can't be used inside another view.

8
likes
120
points
25
downloads

Publisher

verified publisherhchalbi28.blogspot.com

Weekly Downloads

A simple widget for small screen with swipe to dismiss, double tap zoom && traditional zoom.

Documentation

API reference

License

MIT (license)

Dependencies

cached_network_image, flutter, stacked

More

Packages that depend on facebook_image_viewer_2