Fix overflow issues on small devices #104
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses overflow issues that were occurring on small devices when displaying long usernames in the social media buttons and GridViews. The changes involve implementing a Wrap widget to allow the buttons to move to the next line on smaller devices, preventing overflow issues. The button width is also constrained to not exceed 200 pixels, ensuring a balanced and responsive layout across different screen sizes.
Additionally, for GridView builders, the manipulation of the [childAspectRatio] can often be challenging when trying to achieve a specific layout. To streamline this process and maintain a consistent design, I've opted to use mainAxisExtent instead. This approach allows for a more predictable and controlled layout, ensuring that the UI remains consistent across different device sizes.
Type of Change
Test Changes on Device
You can download your APK from Firebase App Distribution once this PR builds successfully via the following link: https://appdistribution.firebase.dev/i/c796669942f8a811