stateByAttach method

void stateByAttach(
  1. TouchRippleState? state
)

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

Implementation

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