cloudinary / cloudinary_flutter

MIT License
8 stars 3 forks source link

Image sticking to one side inside an interactive viewer whenever there is a pinch #14

Closed abdimussa87 closed 1 year ago

abdimussa87 commented 1 year ago

So I wanted to have a zooming capability on the image that uses CldImageWidget:

InteractiveViewer(
child: CldImageWidget(
                          publicId: 'sample.jpg',
                          transformation: Transformation()
                            ..resize(
                              Resize.scale()
                                ..width(1520)
                                ..height(1520),
                            ),
                          fit: BoxFit.fitWidth,
                        ),
)
);

The image sticks to one side whenever there is a zoom gesture.

abdimussa87 commented 1 year ago

My bad. Seems to be an ios simulator issue.