onDoubleTap method

Widget onDoubleTap(
  1. VoidCallback? onDoubleTap, {
  2. Key? key,
})

Implementation

Widget onDoubleTap(VoidCallback? onDoubleTap, {Key? key}) {
  return GestureDetector(
    key: key,
    onDoubleTap: onDoubleTap,
    child: Material(
      color: Colors.transparent,
      child: this,
    ),
  );
}