どうも、ちょげ(@chogetarou)です。
ListViewのパディングを設定する方法を紹介します。
方法

ListViewのパディングを設定するには、引数「padding」を使います。
具体的には、引数「padding」に「EdgeInsets」でパディングを指定します。
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: ListView(
padding: EdgeInsets.all(50),
children: [
for (var i = 0; i < 20; i++)
Card(
child: ListTile(
title: Text('Item : $i'),
),
),
],
),
),
);
}

コメント