【发布时间】:2020-07-18 06:36:17
【问题描述】:
【问题讨论】:
标签: android flutter tabs uitabbarcontroller uitabbar
【问题讨论】:
标签: android flutter tabs uitabbarcontroller uitabbar
您可以使用标签来实现这一点
Scaffold(
appBar: AppBar(
bottom: TabBar(
tabs: [
Tab(text:"About"), // you can specify pages here if you want
Tab(text:"Reg"),
Tab(text:"Services"),
],
),
title: Text('Tabs Demo'),
),
body: TabBarView(
children: [
Text("1"),
Text("2"),
Text("3"),
],
),
),
【讨论】: