📜  listview.separated flutter - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:08.148000             🧑  作者: Mango

代码示例1
ListView.separated(
  itemCount: 25,
  separatorBuilder: (BuildContext context, int index) => Divider(),
  itemBuilder: (BuildContext context, int index) {
    return ListTile(
      title: Text('item $index'),
    );
  },
)