Questions tagged [photoview]

8 questions
2
votes
1 answer

Flutter - PhotoView

Tell me, is it possible to increase (or decrease) the image in the Photo View widget, to return the image to its original state after removing your fingers from the screen? Or is it possible to implement this using other widgets?
RomanXXI
  • 21
  • 2
1
vote
1 answer

【Flutter】Error: No named parameter with the name 'kind'

This is a Flutter project. I have tried the following $Flutter clean $Flutter pub cache repair photo_view: ^0.14.0 use the version of document_scanner_flutter in the pull request However, none of these had any effect. Error message Error…
Tdayo
  • 269
  • 4
  • 11
1
vote
1 answer

Using photo_view package to fit image like BoxFit.cover

A basic usage as it, but in this case it is not fitted to screen borders. Is it possible to display it with a behaviour of BoxFit.cover ? A double tap make it fitted to the screen borders. Is it possible to display it this way initially? PhotoView( …
rozerro
  • 5,787
  • 9
  • 46
  • 94
1
vote
0 answers

In Android, Image is getting blur after zooming it by using chrisbanes PhotoView library

I want to display set of images in horizontal viewpager. I have used the "chrisbanes PhotoView" library. Everything is working well but after zooming any image the quality of images getting lose even for high resolution images. The Size of image is…
amoljdv06
  • 2,646
  • 1
  • 13
  • 18
0
votes
0 answers

(iOS+Flutter) Camera working properly when doing testing, but black screen when testing the version from firebase app distribution

I'm currently working on a flutter project that use camera plugin. when I tested it during development and on my local devices, it is working. the camera snap a photo and display the image on the screen. However after I compiled it and upload it…
Izzuddin Cheras
  • 237
  • 2
  • 10
0
votes
1 answer

Error saying that looking up a deactivated widget's ancestor is unsafe when using photo_view package

Apparently, I am having this error when I navigate to my photo view page and then back to the previous page. ======== Exception caught by widgets library ======================================================= The following assertion was thrown…
Kinesis
  • 51
  • 6
0
votes
1 answer

How to show a base64 image

This is the method to get all photos from local db getAllPhotos() async { final dbClient = await db; List maps = await dbClient!.query(TABLE, columns: [ID, NAME]); List employees = []; if (maps.length > 0) { for (int i = 0; i…
-1
votes
1 answer

Zoom and Sliding not working for image in android

I am trying to add full screen image viewer functionality for an image when clicked, it should include zoom in/out with sliding left right. i successfully added that functionality with TouchImageView and ViewPager but on Zoom or slide images are…
ghufranne
  • 849
  • 2
  • 9
  • 18