placeholderBuilder property

Widget Function(BuildContext, Widget?)? placeholderBuilder
final

The placeholder builder for the camera preview.

If this is null, a black ColoredBox is used as placeholder.

The placeholder is displayed when the camera preview is being initialized.

Implementation

final Widget Function(BuildContext, Widget?)? placeholderBuilder;