这是我的第一个问题。我目前正在用tabbar开发sliverAppBar。有什么我可以做的,使选项卡栏停留在顶部,而不是移动时,我向下拖动小条?this is how its looks based on my code和这是我的代码: @override return3, body: CustomScrollView(
sliv
如何将TabBar添加到SliverAppBar中?到目前为止,当我向bottom添加SliverAppBar时,title被固定在这些选项卡上,而我希望它高于这些选项卡。
class _MyHomePageState extends State<MyHomePage> with SingleTickerProviderStateMixin{ body: n
我希望在滚动时有一个固定了TabBar的SliverAppBar,但在标签栏之前,我想要一个介于两者之间的菜单。headerSliverBuilder: (BuildContext context, bool boxIsScrolled) { SliverAppBarConatainer(//All my buttons and stuff were supposed go in here);
标签栏应该像一个SliverAppBar,当你向上滚动到区块A的末尾时,它可以被“钉住”。我可以在CustomScrollView中构建一个SliverAppBar,并将profile part (块A)作为其background属性,并设置expandedHeight bigger以查看profile然而,在这个解决方案中,我不知道如何将SliverFixedExtentList部件转换为可滚动的选项卡视图,以及如何将SliverAppBar