cryAlertWidget function
Implementation
void cryAlertWidget(BuildContext context, Widget content) {
showDialog<void>(
context: context,
builder: (BuildContext context) {
return AlertDialog(
title: Text(S.of(context).information),
scrollable: true,
content: content,
actions: <Widget>[
TextButton(
child: Text(S.of(context).close),
onPressed: () {
Navigator.of(context).pop();
},
),
],
);
},
);
}