Although I add the ScrollController to the ListView, the client of the ScrollController does not appear. Result of print : ScrollController#a6158(no clients)
ScrollController sc = new ScrollController();
ListView(
controller: sc,
padding: const EdgeInsets.all(8.0),
children: <Widget>[
Container(
height: 150,
color: Colors.amber[600],
child: const Center(child: Text('Entry A')),
),
Container(
height: 150,
color: Colors.amber[500],
child: const Center(child: Text('Entry B')),
),
Container(
height: 150,
color: Colors.amber[100],
child: const Center(child: Text('Entry C')),
),
],
);
print(sc.toString());