Draggable slows down app performance #891
Labels
c: performance
Relates to speed or footprint issues (see "perf:" labels)
framework
flutter/packages/flutter repository. See also f: labels.
waiting for PR to land (fixed)
A fix is in flight
From my observations, a full build is triggered every time I am dragging a Draggable. Instead, I believe that only an
onWillAccept
ing DragTarget's builder should rebuild if the Draggable hovers over it.I don't think holding a drag without dropping should change any state, so having to rebuild everything is very unexpected. (It's very slow in my app's case, as I have lots of Widgets and images to render.)
I may have made a mistake in my implementation(s), so I'll check with a simpler example. However, if anyone has any ideas on what's causing this, please let me know.
The text was updated successfully, but these errors were encountered: