child parameter has been deprecated

ImagePicker.pickImage() need parameter source: null
This commit is contained in:
vtretyakov
2019-01-09 00:09:41 +07:00
parent 57d33cc943
commit 4e2b483d1d
4 changed files with 6 additions and 6 deletions

View File

@@ -65,5 +65,5 @@ getLocaleTitle(String code) {
// Добавил вызов, что-бы AOT компилер не выкинул либу.
getImage() async {
return await ImagePicker.pickImage();
return await ImagePicker.pickImage(source: null);
}