How do I stick the tabbar to the top without pushing the content up? #211
-
In flutter, we can achieve this effect by placing the tabbar on the appbar and the tabbarView on the body. They are associated through the Tabcontroller. In forui, Tabs does not seem to be a separable component, or I have not found a suitable way to achieve this effect. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
OK, I found a temporary solution, using expand and singlechildscrollview in content to wrap the view I want |
Beta Was this translation helpful? Give feedback.
-
Ah yup, we normally use it with an |
Beta Was this translation helpful? Give feedback.
Ah yup, we normally use it with an
Expanded
widget on our side too if we need it to "stick" to the top of the view. When designingFTab
, we assumed that there isn't a large use-case for splitting the tab bar & view. That said, we're open to tweaking things if there's a strong demand.