attachTo method

void attachTo(
  1. TouchRippleState? state
)

Attaches the given state to the controller defined in the current widget state.

Implementation

void attachTo(TouchRippleState? state) {
  if (state != null) controller.attach(state);
}