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

Add OverflowBar layout for radios and checkboxes #1383

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

Masadow
Copy link
Contributor

@Masadow Masadow commented Apr 29, 2024

Hi,

I'm sorry I did not discuss the change prior to pushing a PR but that's a necessary request as we're locked building our UI without the requested change.

Unfortunately, my time on this is very limited so feel free to edit and enhance the PR as I did not add tests for it. However, the change is completely opt-in and has no chance of breaking existing code

Solution description

This allows to use OptionsOrientation.auto with Radio and Checbkoxes for an easy responsive layout.

Screenshots or Videos

When content is smaller than container's width
Capture d’écran 2024-04-29 à 10 10 19

When content is larger than container's width
Capture d’écran 2024-04-29 à 10 10 23

To Do

  • Read contributing guide
  • Check the original issue to confirm it is fully satisfied
  • Add solution description to help guide reviewers
  • Add unit test to verify new or fixed behaviour
  • If apply, add documentation to code properties and package readme

@deandreamatias deandreamatias merged commit 626bd43 into flutter-form-builder-ecosystem:main Apr 30, 2024
2 of 8 checks passed
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