We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69a70bc + 7ef9ad3 commit 8dfb96eCopy full SHA for 8dfb96e
tip_calculator/lib/main.dart
@@ -49,7 +49,7 @@ class TipCalculator extends StatelessWidget {
49
"Total: \$$total"));
50
51
// Show dialog
52
- showDialog(context: context, child: dialog);
+ showDialog(context: context, builder: (BuildContext context) => dialog);
53
});
54
55
Container container = new Container(
using_alert_dialog/lib/main.dart
@@ -32,7 +32,7 @@ class MyHomeState extends State<MyHome> {
32
// On press of the button
33
onPressed: () {
34
35
36
}),
37
),
38
));
0 commit comments