OnPreviewTap constructor

const OnPreviewTap({
  1. required dynamic onTap(
    1. Offset position,
    2. PreviewSize flutterPreviewSize,
    3. PreviewSize pixelPreviewSize
    ),
  2. Widget onTapPainter(
    1. Offset tapPosition
    )? = _awesomeFocusBuilder,
  3. Duration? tapPainterDuration = const Duration(milliseconds: 2000),
})

Implementation

const OnPreviewTap({
  required this.onTap,
  this.onTapPainter = _awesomeFocusBuilder,
  this.tapPainterDuration = const Duration(milliseconds: 2000),
});