Dynamically resize the height of a component, adding/removing widgets (textfields, rows etc.)

Widgets & Design

Hello, I want to build a custom component for which I want to be able to add data, such as new rows etc. The user will be able to add new departments, with names and contact persons. The contact persons may be 1 or more. Everytime the + button is clicked a new row appears, and everytime the - button is clicked the row is removed. Alas, I want the height of component to change dynamically, with rows hiding and showing. How can I achieve this functionality?

What have you tried so far?

Tried implementing it.

Did you check FlutterFlow's Documentation for this topic?
Yes
1