onDetach method
void
onDetach()
Implementation
void onDetach() {
platform?.dispose();
_controller.future.then((WebViewController controller) {
controller.teardownJSBridge();
});
}
void onDetach() {
platform?.dispose();
_controller.future.then((WebViewController controller) {
controller.teardownJSBridge();
});
}