errorBuilder property
The function that builds an error widget when the scanner could not be started.
If this is null, defaults to a black ColoredBox with a centered white Icons.error icon.
Implementation
final Widget Function(BuildContext, MobileScannerException, Widget?)?
errorBuilder;