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