Open ryota47 opened 2 years ago
i also get the same issue
I would catch the error like this and try to investigate image_picker first:
XFile? video_take =
await _imagePicker.pickVideo(source: ImageSource.camera,preferredCameraDevice: CameraDevice.rear,maxDuration: Duration(minutes: 1));
if (video_take != null) {
//works
}else{
print("video_take is null")
}
I got this error when getFileThumbnail after compressVideo. the video was from the gallery with image_picker!
I don't know why catching this error.