XFile? pickedFile = await imagePicker
.pickImage(source: ImageSource.gallery)
.catchError((onError) {
Fluttertoast.showToast(msg: onError.toString()) // semiclone not given
});
In screen folder in profile_page u not given semiclone so put semilcone there
XFile? pickedFile = await imagePicker .pickImage(source: ImageSource.gallery) .catchError((onError) { Fluttertoast.showToast(msg: onError.toString()) // semiclone not given }); In screen folder in profile_page u not given semiclone so put semilcone there
XFile? pickedFile = await imagePicker .pickImage(source: ImageSource.gallery) .catchError((onError) { Fluttertoast.showToast(msg: onError.toString()); // semiclone added });