cancel method Null safety

  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() {
  _alphaController?.forward();
}