Is it possible to let a ListView only be scrollable with the ScrollController and not with the touchscreen?
You can make the ListView widget never scrollable by setting physics property to NeverScrollableScrollPhysics().
You can provide physics: NeverScrollableScrollPhysics() on GridView to disable scroll effect.
As mentioned in the comments, the NeverScrollableScrollPhysics class will do this:
NeverScrollableScrollPhysics class
Scroll physics that does not allow the user to scroll.
Inside ListView widget, use
physics: const NeverScrollableScrollPhysics()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With