No ScrollPosition attached error message when widget is no more rebuild with a horizontal scrollbar #103939
Labels
f: scrolling
Viewports, list views, slivers, etc.
framework
flutter/packages/flutter repository. See also f: labels.
P2
Important issues not at the top of the work list
waiting for PR to land (fixed)
A fix is in flight
I know I can keep a ScrollBar always built around my Widget. However, my application has a complex requirement that the Widget is sometimes built alone and sometimes with a ScrollBar around it. The application simulates a Scrollbar "outside" the content. But to simplify the error, I created an example without this complexity.
Steps to Reproduce
Code
flutter run --verbose
flutter analyze
Nothing
flutter doctor -v
The text was updated successfully, but these errors were encountered: