cancel method

  1. @override
void cancel()
override

Called when the user input that triggered this feature's appearance was canceled.

Typically causes the ink to gradually disappear. By default this method does nothing.

Implementation

@override
void cancel() {
  super.cancel();
  dispose();
}