cameraPreviewBackgroundColor property
Color?
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
(Color? val)
Implementation
set cameraPreviewBackgroundColor(Color? val) {
_cameraPreviewBackgroundColor = val;
_set({"cameraPreviewBackgroundColor": _intFromColor(val)});
}