overlayBuilder property
The builder for the overlay above the camera preview.
The resulting widget can be combined with the scanWindow rectangle to create a cutout for the camera preview.
The BoxConstraints for this builder are the same constraints that are used to compute the effective scanWindow.
The overlay is only displayed when the camera preview is visible.
Implementation
final LayoutWidgetBuilder? overlayBuilder;