errorBuilder property
The error builder for the camera preview.
If this is null, a black ColoredBox, with a centered white Icons.error icon is used as error widget.
Implementation
final Widget Function(BuildContext, MobileScannerException)? errorBuilder;