How to position widgets inside column in flutter?

Viewed 154

I have two widgets to be placed inside column. The first widget is a TabbarView widget, whose content could be long. The second widget is a TabBar. I want the tabbar to stay always at the bottom of the column and allot the remaining space to TabbarView widget.

Suggest a solution other than using Flex.

1 Answers

This is a quick work around, you can try wrapping your TabbarView in a container and giving it a height using Mediaquery.of(context).size.height * .94 then for the remaining space add your TabBar

Related