diff --git a/examples/fn/widgets/fixedheightscrollable.dart b/examples/fn/widgets/fixedheightscrollable.dart index ecb558962a..83733ea7c0 100644 --- a/examples/fn/widgets/fixedheightscrollable.dart +++ b/examples/fn/widgets/fixedheightscrollable.dart @@ -64,7 +64,7 @@ abstract class FixedHeightScrollable extends Component { ..events.listen('wheel', _handleWheel); } - void willUnmount() { + void didUnmount() { _stopFling(); } diff --git a/examples/fn/widgets/material.dart b/examples/fn/widgets/material.dart index 89cbdf2353..56aa417ac3 100644 --- a/examples/fn/widgets/material.dart +++ b/examples/fn/widgets/material.dart @@ -61,7 +61,7 @@ abstract class MaterialComponent extends Component { }); } - void willUnmount() { + void didUnmount() { _cancelSplashes(null); }