create method
Implementation
@override
Widget create(
Widget title,
Widget content,
List<UIAction> actions,
) {
return CupertinoAlertDialog(
title: title,
content: content,
actions: actions.map<Widget>(
(a) {
return CupertinoButton(
child: a.child,
onPressed: a.onPressed as void Function(),
);
},
).toList(),
);
}