2

I have a tab in the middle of a page, the tab is inside a listView, to render the the tab I had to set a fixed height on it, but the problem is that the content of the tab it will vary, it can have 1 or more items, how can I make the tab height dynamic?

Rafael Honda
  • 605
  • 2
  • 5
  • 13

1 Answers1

3

I've answered at in the similar question. https://stackoverflow.com/a/57558695/5541523

Maybe it could help you. P.s. You will need to add GestureDetector if you want to change tabs on swipe.

enter image description here

Kherel
  • 14,882
  • 5
  • 50
  • 80