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