photox 0.0.2 copy "photox: ^0.0.2" to clipboard
photox: ^0.0.2 copied to clipboard

An all-in-one solution for displaying interactive images.

PhotoX #

An all-in-one solution for displaying interactive images

   

Features #

  • Smoothly animate images into fullscreen and back
  • Swipe to dismiss images
  • Pinch to zoom
  • Automatically generate swipeable gallery when given multiple images

Getting started #

Add photox as a dependency in your pubspec.yaml file

flutter pub add photox

Import PhotoX:

import 'package:photox/photox.dart';

Usage #

@override
Widget build(BuildContext context) {
  return Container(
    height: 400,
    width: 400,
    child: PhotoX(
      items: [
        PhotoxItem(
          id: "1", resource: "assets/img1.jpg", isAsset: true),
        PhotoxItem(
          id: "2", resource: "assets/img2.jpeg", isAsset: true),
      ]
    )
  );
}
7
likes
0
pub points
74%
popularity

Publisher

verified publishertuoku.dev

An all-in-one solution for displaying interactive images.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cached_network_image, collection, flutter, photo_view

More

Packages that depend on photox