📜  如何在颤振中在正文中添加标签栏 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:30.590000             🧑  作者: Mango

代码示例1
return Scaffold(
      appBar: AppBar(
        title: Text('Tabs Example'),
      ),
      body: Container(
        child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
          SizedBox(height: 20.0),
          Text('Tabs Inside Body', textAlign: TextAlign.center, style: TextStyle(fontSize: 22)),

          //create tabs here
        ]),
      ),
    );