There’s nothing specific that needs to be enabled in your Flutter codebase to allow scrolling using Selenium. The issue you’re encountering can be resolved using the JavascriptExecutor in Selenium to scroll to desired or near by element on the page. For a detailed guide on how to set this up, you can refer to our guide here – How to Scroll in a Flutter Web App Using Java and Selenium
JavascriptExecutor