dispatch method

void dispatch(
  1. TouchRippleState state
)

Dispatch a given touch ripple state with the this controller.

Implementation

void dispatch(TouchRippleState state) {
  assert(rippleStates.contains(state));
  rippleStates.remove(state..removeListener(notifyListeners)..dispose());
}