paintByState method
Draws a painting corresponding to a given instance of touch ripple effect.
Implementation
void paintByState(Canvas canvas, Size size, TouchRippleEffect effect) {
effect.paint(controller.context, canvas, size);
}
Draws a painting corresponding to a given instance of touch ripple effect.
void paintByState(Canvas canvas, Size size, TouchRippleEffect effect) {
effect.paint(controller.context, canvas, size);
}