Skip to content

Change aspect ratio on preview #76

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

mabroukb
Copy link

@mabroukb mabroukb commented Oct 6, 2021

Hi,

I propose to add an AspectRatio to the preview widget so the image is not distorted anymore.
the ratio is computed using camera ratio.

What do you think ?

full screen preview
maintained aspect ratio in full screen
update dependencies
full screen preview
maintained aspect ratio in full screen
added Orientations locking methods
update dependencies
@gabuldev
Copy link
Owner

It's make sense. Can you create test for this? For example, send prints ou write test in flutter_test.

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.

2 participants