1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Replaced deprecated property with new one (#640)

This commit is contained in:
Alabhya
2021-01-09 02:06:43 +05:30
committed by GitHub
parent 39e435960c
commit 9caf12257f

View File

@@ -110,7 +110,7 @@ class _SignInHttpDemoState extends State<SignInHttpDemo> {
void _showDialog(String message) { void _showDialog(String message) {
showDialog( showDialog(
context: context, context: context,
child: AlertDialog( builder: (context) => AlertDialog(
title: Text(message), title: Text(message),
actions: [ actions: [
FlatButton( FlatButton(