CamController constructor
CamController({
- required ControllerNotifier controllerNotifier,
- required BuildContext context,
- ResolutionPreset? resolutionPreset,
- ImageFormatGroup? imageFormatGroup,
Implementation
CamController({
required ControllerNotifier controllerNotifier,
required BuildContext context,
ResolutionPreset? resolutionPreset,
ImageFormatGroup? imageFormatGroup,
}) : _controllerNotifier = controllerNotifier,
_uiHandler = UIHandler(context),
zoom = Zoom(controllerNotifier),
exposure = Exposure(controllerNotifier, UIHandler(context)),
super(ActionValue(
resolutionPreset: resolutionPreset ?? ResolutionPreset.veryHigh,
imageFormatGroup: imageFormatGroup ?? ImageFormatGroup.jpeg,
));