提交 dd40abc8 编写于 作者: H Hans Muller

Merge pull request #1549 from HansMuller/dismissable_dispose

Defunct DismissableState should not have live animations
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册