Skip to content

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

Open
taiseidev wants to merge 2 commits intohaptome:masterfrom
taiseidev:master
Open

Fix for RenderFlex Overflow with useMaterial3 and Default Margin/Padding Values#21
taiseidev wants to merge 2 commits intohaptome:masterfrom
taiseidev:master

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