placeholderBuilder property

Widget Function(BuildContext, Widget?)? placeholderBuilder
final

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;