child parameter has been deprecated
ImagePicker.pickImage() need parameter source: null
This commit is contained in:
@@ -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>[
|
||||
|
||||
Reference in New Issue
Block a user