rickypid / flutter_expandable_table

A Flutter widget for create an expandable table with header and first column fixed.
https://pub.dev/packages/flutter_expandable_table
BSD 3-Clause "New" or "Revised" License
38 stars 28 forks source link

Elements Don't Hide: Flutter Form Builder 2 #28

Open phillipshaong opened 8 months ago

phillipshaong commented 8 months ago

I am using elements from flutter_form_builder(9.1.1), and want to use form builder elements within the expanded table.

For typical Flutter elements like Text or ElevatedButton, they are hidden once the row collapses.

However, for flutter_form_builder elements, they don't hide very well.

image image

As you can see, the checkbox from FormBuilderCheckbox still shows, and the boarders and text from the FormBuilderDateTimePicker show as well. The same behavior occurs with other elements in the library.

rickypid commented 6 months ago

@phillipshaong can you give me an example?

NJashwanth commented 4 months ago

@phillipshaong I was also dealing with a similar issue. I was able to resolve the issue by using the builder parameter and hiding the widget.