How to pass multiple widgets as children in Flutter? [duplicate]
This question is already answered here
Can't add a ListView in Flutter
If you use a scrollable view(Listview) inside another scrollable view
, the inner scrollable view
doesn't know how much height it should occupy
. You can tell the inner scrollable view about how much height it should take using an Expanded
widget.