showCupertinoWidget method
showCupertinoWidget Show alert design for IOS
Implementation
Widget showCupertinoWidget(BuildContext context) {
return CupertinoAlertDialog(
title: Text(
_smartAlertDialog.title,
textAlign: TextAlign.center,
style: _smartAlertDialog.getStyle().title,
),
content: SingleChildScrollView(
child: Text(
_smartAlertDialog.message,
textAlign: TextAlign.center,
style: _smartAlertDialog.getStyle().message,
),
),
actions: _smartAlertDialog.isDismissible
? cupertinoDismissable(context)
: cupertinoYesOrNo(context),
);
}