appBar: AppBar( title: Text(widget.title), bottom: TabBar( controller: tabController, tabs: <Tab>[ new Tab(text: "問答"), new Tab(text: "分享"), new Tab(text: "博客"), ], ), ),每個tabbar 對應(yīng)的視圖是在 body 里定義的,按照順序初始化好即可1...
www.dbjr.com.cn/article/1659...htm 2025-6-7