Commit fd8e64c4 authored by Hans Muller's avatar Hans Muller

Defunct DismissableState should not have live animations

parent 6143492e
......@@ -64,6 +64,12 @@ class _DismissableState extends State<Dismissable> {
double _dragExtent = 0.0;
bool _dragUnderway = false;
void dispose() {
_fadePerformance?.stop();
_resizePerformance?.stop();
super.dispose();
}
bool get _directionIsYAxis {
return
config.direction == DismissDirection.vertical ||
......
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