Skip to content
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

Boundary constants #9

Merged
merged 1 commit into from
Aug 4, 2018
Merged

Boundary constants #9

merged 1 commit into from
Aug 4, 2018

Conversation

renancaraujo
Copy link
Member

As asked by @sgon00, this PR adds the possibility of applying the states "covered" and "contained" as ´minScale´ or ´maxScale´.

new PhotoView(
  imageProvider: imageProvider,
  loadingChild: new LoadingText(),
  backgroundColor: Colors.white,
  minScale: PhotoViewScaleBoundary.contained,
  maxScale: PhotoViewScaleBoundary.covered
);

@renancaraujo renancaraujo mentioned this pull request Aug 4, 2018
@renancaraujo renancaraujo merged commit e5ec4fd into master Aug 4, 2018
@renancaraujo renancaraujo deleted the boundary-constants branch August 4, 2018 15:06
CarSmallGuo pushed a commit to CarSmallGuo/photo_view that referenced this pull request May 29, 2019
CarSmallGuo pushed a commit to CarSmallGuo/photo_view that referenced this pull request May 30, 2019
CarSmallGuo pushed a commit to CarSmallGuo/photo_view that referenced this pull request May 30, 2019
@3990995 3990995 mentioned this pull request May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant