finderTapContainer method
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,
);
},
);
}