rippleTap method

Widget rippleTap({
  1. VoidCallback? onTap,
  2. Color color = const Color(0x33FFFFFF),
  3. Duration duration = const Duration(milliseconds: 600),
  4. bool haptics = false,
})

Expanding ripple from the touch point. See RippleTap.

Implementation

Widget rippleTap({
  VoidCallback? onTap,
  Color color = const Color(0x33FFFFFF),
  Duration duration = const Duration(milliseconds: 600),
  bool haptics = false,
}) => RippleTap(
  onTap: onTap,
  color: color,
  duration: duration,
  haptics: haptics,
  child: this,
);