-
Notifications
You must be signed in to change notification settings - Fork 539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhotoViewGallery with non PhotoView widget child #126
Comments
I've found |
Perhaps a new constructor such as |
Yeah, I will try to implement it |
@rostopira added custom child support on #131 PhotoViewGalleryPageOptions.customChild(
child: Container(
width: 300,
height: 300,
child: SvgPicture.asset(
item.resource,
height: 200.0,
),
),
childSize: const Size(300, 300),
initialScale: PhotoViewComputedScale.contained,
minScale: PhotoViewComputedScale.contained * (0.5 + index / 10),
maxScale: PhotoViewComputedScale.covered * 1.1,
heroTag: item.id,
) |
Thank you for this change and awesome plugin! |
I will release it as 0.3.1 |
Is your feature request related to a problem? Please describe.
I'm building some kind of app internal gallery, and it has videos
I've tried to just include
PhotoView
widget inPageController
, but with this approachPhotoView
doesn't work at allDescribe the solution you'd like
I want
PhotoViewGallery.builder
to be able to accept nonPhotoView
widgetBest api, IMHO, would be like following:
The text was updated successfully, but these errors were encountered: