If on your case, you have many ListViews on a same views, you will get this error too. And to solve it you just need to add the following property into each listView builder:
controller: ScrollController(),
After you will have :
ListView.builder(
controller: ScrollController(),//just add this line
itemCount: items.length,
itemBuilder: (context, index) {
return ListTile(
title: Text(items[index]),
);
Source is this link: Click here