flutter scrollable listview code example
Example 1: disable scroll in listview flutter
ListView.builder(
physics: ClampingScrollPhysics(), // <----
// ...
Example 2: make listview not scrollable flutter
ListView(
physics: NeverScrollableScrollPhysics(), // <-- this will disable scroll
shrinkWrap: true,
children: [],
),
Example 3: flutter listview disable scroll
physics: const NeverScrollableScrollPhysics()