cameraPreviewBackgroundColor property

dynamic get cameraPreviewBackgroundColor

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

Default: Colors.black.

Implementation

Color? get cameraPreviewBackgroundColor => _cameraPreviewBackgroundColor;
set cameraPreviewBackgroundColor (dynamic val)

Implementation

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