I have a ListView widget and i would like to allow it to be scrollable or not based on some logic.
NeverScrollableScrollPhysics prevents scrolling, but since physics parameter is final i can't change it afterwards.
I thought to use state to rebuild the ListView using different physics, but i guess is a quite heavy operation to rebuild the entirely ListView.
Does anyone knows or how to deal with this situation, where the user should not scroll a ListView until other user action got accomplished?