Future<XFile> takePicture(String path) async { await _stop(true); final image = await _cameraController!.takePicture(); _start(); return image; }