Widget_buildAndroid(BuildContextcontext){returnRaisedButton(child:Text('LOG OUT',style:TextStyle(color:Colors.red)),onPressed:(){// You should do something with the result of the dialog prompt in a// real app but this is just a demo.showDialog<void>(context:context,builder:(context){returnAlertDialog(title:Text('Log out?'),content:_logoutMessage,actions:[FlatButton(child:constText('Got it'),onPressed:()=>Navigator.pop(context),),FlatButton(child:constText('Cancel'),onPressed:()=>Navigator.pop(context),),],);},);},
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It was Flutter..