placeholderBuilder property
The function that builds a placeholder widget when the scanner is not yet displaying its camera preview.
If this is null, a black ColoredBox is used as placeholder.
Implementation
final Widget Function(BuildContext, Widget?)? placeholderBuilder;