【发布时间】:2023-03-27 02:50:01
【问题描述】:
我的应用栏底部有一个 TabBar,如下所示:
appBar: new AppBar(
bottom:
TabBar(
labelColor: Colors.black,
indicatorColor: Color(0xff2CB57D),
tabs: [
Tab(
text: uiLabels['tab1'][globals.currentLang],
),
Tab(text: uiLabels['tab2'][globals.currentLang]),
],
),
然后在正文中是这样的:
body: TabBarView(
children: [
PollsListPage(),
PollsListPage(),
],
),
这工作得很好..问题是我想用 TabBarView 在正文中添加定位小部件..
我该怎么做?
【问题讨论】:
-
能否请您更精确和详细一点,以便我们更好地帮助您?