cameraPreviewBackgroundColor property

Color? cameraPreviewBackgroundColor

Allows you to set a background color for the camera preview (top and bottom frames).

Default: Colors.black.

Implementation

Color? get cameraPreviewBackgroundColor => _cameraPreviewBackgroundColor;
void cameraPreviewBackgroundColor=(Color? val)

Implementation

set cameraPreviewBackgroundColor(Color? val) {
  _cameraPreviewBackgroundColor = val;
  _set({"cameraPreviewBackgroundColor": _intFromColor(val)});
}