confirm method

  1. @override
void confirm ()
override

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

Typically causes the ink to propagate faster across the material. By default this method does nothing.

Implementation

@override
void confirm() {
  _radiusController
    ..duration = _kRadiusDuration
    ..forward();
  // This confirm may have been preceded by a cancel.
  _fadeInController.forward();
  _fadeOutController
    ..animateTo(1.0, duration: _kFadeOutDuration);
}