Unverified Commit 527ee1d7 authored by Polina Cherkasova's avatar Polina Cherkasova Committed by GitHub

Dispose scaffold drawers. (#108234)

parent 2f551d30
......@@ -2578,6 +2578,8 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin, Resto
_floatingActionButtonMoveController.dispose();
_floatingActionButtonVisibilityController.dispose();
_scaffoldMessenger?._unregister(this);
_drawerOpened.dispose();
_endDrawerOpened.dispose();
super.dispose();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment