showDialog(context: context, builder: (BuildContext context){ return AlertDialog( title: Text("Success"), content: Text("Saved successfully"), ); });