show method

Future<UserInput> show (String htmlInfoText)

Shows a modal InfoDialog with centered htmlInfoText. While InfoDialog needs a close callback, this async method returns the user input (button code DiaAttr.DIA_ACT_ABORT when the red cross is pressed).

Implementation

static Future<UserInput> show(String htmlInfoText) async {
  return InfoDialog.show(htmlInfoText);
}