RippleEffect constructor

const RippleEffect(
  1. VoidCallback onTap,
  2. Widget child,
  3. {Key key}
)

Implementation

const RippleEffect(
  this.onTap,
  this.child, {
  Key key,
}) : super(key: key);