cameraPreviewBuilder property

Widget Function(BuildContext context, Widget texture, MobileScannerArguments arguments) cameraPreviewBuilder
final

⚡️ Added function from the original package

A function that builds and customizes the camera preview display within the scanner. The cameraPreviewBuilder takes the following parameters:

This builder allows developers to modify the appearance and layout of the camera preview as per the application's requirements.

Implementation

final Widget Function(
  BuildContext context,
  Widget texture,
  MobileScannerArguments arguments,
) cameraPreviewBuilder;