sliding_up_panel
sliding_up_panel copied to clipboard
Hot reload causes controller attached = false
When using controller with SlidingUpPanel in StatelessWidget Page, Hot reload causes isAttached Property to return false. Full app restart or Flutter Hot Restart gets it back to working however
Make sure you're initializing the controller outside of the widget build so that it persists. Paste your code if you're still having trouble.
I had the same problem. Build a StatefulWidget
wrapper around yourSlidingUpPanel
and declare the controller as state.