flutter how to disable expanded in listview 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()