addNotification method

void addNotification(
  1. String html,
  2. NotificationType notificationType
)

Add a notification to the bottom of the editor. This is styled similar to Bootstrap alerts. You can set the HTML to be displayed in the alert, and the notificationType determines how the alert is displayed.

Implementation

void addNotification(String html, NotificationType notificationType) {}