images_box 0.2.0 copy "images_box: ^0.2.0" to clipboard
images_box: ^0.2.0 copied to clipboard

Flutter Image Popup with Multiple Features

images_box #

Flutter Image Popup with Multiple Features

Features #

  1. Image Popup Dialog
  • When an image is tapped, a dialog or overlay pops up to display the image in a larger view.
  1. Swipe to Switch Between Images:
  • Users can swipe left or right to navigate through multiple images in the popup.
  1. Image Rotation:
  • Users can rotate the image by a specific angle (e.g., 90 degrees) using a rotation button or gesture.
  1. Image Zoom/Pinch-to-Zoom:
  • Users can zoom in and out of the image using pinch gestures.

Steps use #

Add dependency in pubspec.yaml file as

images_box: 0.1.0

Forward Geocoding #

# bgColor (Color) : background color
# imageIndex (int) :Current image index value
# imageList (List<String>) : List of online image addresses
showDialog(
    context: context,
    builder: (context) {
    const size = MediaQuery.of(context).size;
    return SizedBox(
        width: size.width - 20,
        child: ImageBox(
        bgColor: Colors.white,
        imageIndex: e.key,
        imageList: photoList,
        ),
    );
    })

Preview #

pre.jpg

2
likes
150
points
29
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Image Popup with Multiple Features

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter

More

Packages that depend on images_box