takePhotoImage static method
Implementation
static Future<XFile?> takePhotoImage() async {
final picker = ImagePicker();
var pickedFile = await picker.pickImage(source: ImageSource.camera);
return pickedFile;
}
static Future<XFile?> takePhotoImage() async {
final picker = ImagePicker();
var pickedFile = await picker.pickImage(source: ImageSource.camera);
return pickedFile;
}