showInfoDialog function
dynamic
showInfoDialog(
- dynamic context,
- dynamic msg
Implementation
showInfoDialog(context, msg) {
AwesomeDialog(
dismissOnTouchOutside: false,
context: context,
animType: AnimType.SCALE,
dialogType: DialogType.NO_HEADER,
body: Center(
child: Text(
msg,
style: const TextStyle(fontStyle: FontStyle.normal, fontWeight: FontWeight.bold),
textAlign: TextAlign.center,
),
),
btnOkOnPress: () async {},
btnOkColor: payUnitGreenColor,
).show();
}