<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>
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
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter
Tags:
Check out our other latest articles
Safearea widget - How to avoid visual overlap with Notch on flutter mobile app?How to convert row of widgets into column of widgets in flutter based on screen size?
How to run Flutter programs from GitHub?
How to get screen orientation in flutter?
NavigationRail example in flutter