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

Fix for RenderFlex Overflow with useMaterial3 and Default Margin/Padding Values #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

taiseidev
Copy link

This PR addresses the RenderFlex overflowed by 43 pixels on the bottom. error encountered when useMaterial3: true is set.

issues:

We resolved this issue by specifying EdgeInsets.zero as the default value for the marginR and paddingR properties, ensuring proper layout without overflow. Additionally, we aligned the spacing with Material Design guidelines by adjusting margins and paddings to be multiples of 8, enhancing design consistency and adherence to standards.

before after

…ng default values for marginR and paddingR to EdgeInsets.zero. Also, adjusted spacing to comply with Material Design's multiples of 8 guideline.
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