| Index: sky/framework/components/ink_well.dart
|
| diff --git a/sky/framework/components/ink_well.dart b/sky/framework/components/ink_well.dart
|
| index 601e3c75102a31e812146ae690548a3d9a8ac5c2..6f452694f7b34e7bd6cfdf4f9637a0d2e43b3cd1 100644
|
| --- a/sky/framework/components/ink_well.dart
|
| +++ b/sky/framework/components/ink_well.dart
|
| @@ -15,7 +15,11 @@ class InkWell extends Component {
|
| List<Node> children;
|
|
|
| InkWell({ Object key, this.style, this.inlineStyle, this.children })
|
| - : super(key: key);
|
| + : super(key: key) {
|
| + onDidUnmount(() {
|
| + _cancelSplashes(null);
|
| + });
|
| + }
|
|
|
| Node build() {
|
| List<Node> childrenIncludingSplashes = [];
|
| @@ -69,10 +73,6 @@ class InkWell extends Component {
|
| });
|
| }
|
|
|
| - void didUnmount() {
|
| - _cancelSplashes(null);
|
| - }
|
| -
|
| void _splashDone(SplashController splash) {
|
| if (_splashes == null)
|
| return;
|
|
|