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