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

@@ -298,7 +298,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
print(currency.toString());
showDialog(
context: context,
child: new AlertDialog(
builder: (_) => new AlertDialog(
title: new Text(StringsLocalization.confirmation()),
content:
new Text(
@@ -325,7 +325,7 @@ class PurchaseScreenState<T> extends BaseState<PurchaseScreen> {
apiErrorAlert(String errorText) {
showDialog(
context: context,
child: new AlertDialog(
builder: (_) => new AlertDialog(
content: new Text(errorText),
actions: <Widget>[
new FlatButton(

View File

@@ -170,7 +170,7 @@ class SettingsState extends BaseState<SettingsScreen> {
showYesNoDialog(BuildContext context, String title, String content) {
showDialog<bool>(
context: context,
child: new AlertDialog(
builder: (_) => new AlertDialog(
title: new Text(title),
content: new Text(content),
actions: <Widget>[