title: Flutter: How to avoid ListView to scroll (or change its physics) dynamically
body: <p>I have a <a href="https://api.flutter.dev/flutter/widgets/ListView-class.html" rel="noreferrer">ListView</a> widget and i would like to allow it to be scrollable or not based on some logic. </p>
  
  <p><a href="https://api.flutter.dev/flutter/widgets/NeverScrollableScrollPhysics-class.html" rel="noreferrer">NeverScrollableScrollPhysics</a> prevents scrolling, but since physics parameter is final i can't change it afterwards.</p>
  
  <p>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.</p>
  
  <p>Does anyone knows or how to deal with this situation, where the user should not scroll a ListView until other user action got accomplished?</p>