How to use IntrinsicHeight

Widgets & Design

I wanted to have a layout where there are a few rows such that all items in a row take up the height of tallest child. This is the behaviour of any table that we see on the internet, but for some reason it is very complex in FlutterFlow to achieve.

From what I understood after reading through various documents is that the way to achieve this is to wrap row widget in IntrinsicHeight

However, FlutterFlow doesn't have this widget.

I tried to see if it can be done via a custom widget which generates this wrapper code. However, one can only pass a widget as parameter to it. In my case I would end up creating many custom widgets just for this table making my app really cumbersome and unmanageable (Because this is a table which has some fixed parts in it and hence can't really come as a ListView query).

So, I wanted to understand if there is a straightforward way I can achieve this requirement in FlutterFlow.

What have you tried so far?

Many things.

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