mirror of
https://github.com/nisrulz/flutter-examples.git
synced 2025-11-08 12:39:17 +00:00
fix deprecated showDialog() argument
This commit is contained in:
@@ -49,7 +49,7 @@ class TipCalculator extends StatelessWidget {
|
||||
"Total: \$$total"));
|
||||
|
||||
// Show dialog
|
||||
showDialog(context: context, child: dialog);
|
||||
showDialog(context: context, builder: (BuildContext context) => dialog);
|
||||
});
|
||||
|
||||
Container container = new Container(
|
||||
|
||||
Reference in New Issue
Block a user