action_template method
Future<void>
action_template({
- required void onCameraNotInit(),
- required void onCameraNotSelect(),
- required void onCameraNotActive(),
Implementation
Future<void> action_template({
required void Function() onCameraNotInit,
required void Function() onCameraNotSelect,
required void Function() onCameraNotActive,
}) async {
bool is_check_camera = util_check_camera(
onCameraNotInit: onCameraNotInit,
onCameraNotSelect: onCameraNotSelect,
onCameraNotActive: onCameraNotActive,
);
if (!is_check_camera) {
return;
}
if (isMobile) {
var res = (await camera_mobile_controller.startVideoRecording());
}
return;
}