Tab(text: "好友"),
Tab(text: "动态"),
],
),
),
body: TabBarView...)
],
),
],
),
),
);
}
}
如果底部导航栏和顶部导航栏同时存在的...],
),
)
],
),
),
body: TabBarView...: AppBar(
title: Text("NavBar"),
bottom: TabBar(
controller: this....Tab(text: "热销"),
Tab(text: "推荐"),
],
),
),
body: TabBarView