pasteWith method

void pasteWith(
  1. TouchRippleController controller
)

Delegate the states of a given controller to this controller.

Implementation

void pasteWith(TouchRippleController controller) {
  hoverState = controller.hoverState;

  rippleStates.clear();
  rippleStates.addAll(controller.rippleStates);
}