appBar: AppBar(title: Text('布局组件示例'),),
// 底部导航栏 BottomNavigationBar 设置
// items...currentIndex: _currentSelectedIndex,
// 设置点击底部导航栏的回调事件 , index 参数是点击的索引值...color: Colors.red,),
// 设置标题
title: Text("主页")
),
// 设置底部导航栏条目...// 显示的内容
child: ListView(
children: [
Container( // 对应底部导航栏设置选项卡...height: 100,
),
],
),
// 刷新时回调的方法
// 列表发生下拉操作时