How to disable swipe or scroll in Flutter Scrolling widgets?

This Article is posted by seven.srikanth at 5/25/2020 4:40:09 AM



<p>You may come across cases like where you need to disable swipe or scrolling for your Scrolling widgets (ListView, PageView etc).</p> <p>You can simply achieve this by setting physics to color: rgb(78, 201, 176); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 15px; white-space: pre;](NeverScrollableScrollPhysics.</p> <p>color: rgb(78, 201, 176); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 15px; white-space: pre;](</p> <p>font-size: 1rem;](Hope this is useful to you.</p> <p>Thanks,color: rgb(78, 201, 176); background-color: rgb(30, 30, 30); font-family: Consolas, "Courier New", monospace; font-size: 15px; white-space: pre;](</p> <p>Srikanth</p>


Tags:








0 Comments
Login to comment.
Recent Comments