child parameter has been deprecated
ImagePicker.pickImage() need parameter source: null
This commit is contained in:
@@ -65,5 +65,5 @@ getLocaleTitle(String code) {
|
||||
|
||||
// Добавил вызов, что-бы AOT компилер не выкинул либу.
|
||||
getImage() async {
|
||||
return await ImagePicker.pickImage();
|
||||
return await ImagePicker.pickImage(source: null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user