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

Use FractionallySizedBox to set width to half of parent #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jadenwjh
Copy link

Screenshot 2022-10-27 at 6 53 10 PM

Current issue: Width of GestureDetector is not exactly half of the parent. Issue caused by the fix width set using SizedBox at 70px.

Fix: To use FractionallySizedBox to set widthFactor as half. Tested on both iOS and Redmi (Android) device.

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.

None yet

1 participant