dispose method
void
dispose()
Detaches the controller from the native view and stops delivering callbacks.
Called automatically by PDFView; there is normally no need to call it
directly.
Implementation
void dispose() {
_channel.setMethodCallHandler(null);
_widget = null;
}