Flutter_form_builder: FormBuildRadio should support Direction Parameter

Created on 14 Apr 2020  路  3Comments  路  Source: danvick/flutter_form_builder

This List should support direction param so we could define axis.horizontal vs vertical

good first issue

Most helpful comment

Hi @WilliamCunhaCardoso,
This is a nice idea. But how exactly to implement it would be a bit of an issue. For example how many radios to show in a line, the width of the items, how to handle overflows, etc.

More ideas, suggestions on how to handle this, or better yet a PR will be highly appreciated.

All 3 comments

Hi @WilliamCunhaCardoso,
This is a nice idea. But how exactly to implement it would be a bit of an issue. For example how many radios to show in a line, the width of the items, how to handle overflows, etc.

More ideas, suggestions on how to handle this, or better yet a PR will be highly appreciated.

I was about to raise a similar issue as well.
@danvick I think usually when we use the horizontal radio button options, we are already aware that we will only have few and fixed options (e.g. genders - male, female, others). So I think without the overflow handling, this would still be a great feature (maybe can just put some note on the API).

Kindly use FormBuilderRadioGroup field.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  4Comments

awhitford picture awhitford  路  5Comments

rdcoder33 picture rdcoder33  路  6Comments

gilthonweapps picture gilthonweapps  路  3Comments

abhinavc picture abhinavc  路  6Comments