confirm method

Future<UserInput> confirm (String htmlInfoText, List<String> buttonLabels)

Shortcut for ConfirmDialog.show.

Implementation

static Future<UserInput> confirm(
  String htmlInfoText,
  List<String> buttonLabels,
) async {
  return ConfirmDialog.show(htmlInfoText, buttonLabels);
}