finderTapContainer method

Widget finderTapContainer({
  1. Widget? child,
})

Implementation

Widget finderTapContainer({Widget? child}) {
  return LayoutBuilder(
    builder: (
      BuildContext context,
      BoxConstraints constraints,
    ) {
      return GestureDetector(
        behavior: HitTestBehavior.opaque,
        onScaleStart: _handleScaleStart,
        onScaleUpdate: _handleScaleUpdate,
        onTapDown: (TapDownDetails details) => onViewFinderTap(
          details,
          constraints,
        ),
        child: child,
      );
    },
  );
}