errorBuilder property

Widget Function(BuildContext, MobileScannerException)? errorBuilder
final

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;