onDispose method

void onDispose()
inherited

Called when the Html widget is being destroyed. This would be a very good place to dispose() any controllers or free any resources that the extension uses. Default behavior: do nothing.

Implementation

void onDispose() {
  // Subclasses may override this to clean up when the extension is being disposed.
}