attach method

void attach(
  1. TouchRippleState state
)

Attach a given touch ripple state with the this controller.

Implementation

void attach(TouchRippleState state) {
  assert(!rippleStates.contains(state));
  rippleStates.add(state..addListener(notifyListeners));
}