showAlert method

  1. @override
void showAlert(
  1. String message, [
  2. dynamic callback()?
])
override

Bot API 6.2+ A method that shows message in a simple alert with a 'Close' button. If an optional callback parameter was passed, the callback function will be called when the popup is closed.

Implementation

@override
void showAlert(String message, [Function()? callback]) {}