samedi 27 février 2021

How to disable chrome zoom-in and zoom-out menu programmatically in flutter web

Im creating flutter web application. I want to disable chrome zoom panel which occurs when pressing ctrl + for zoom in and ctrl - for zoom out. I want to do it programmatically.I have already disabled right click context menu by using below code

 html.window.document.onContextMenu.listen((e) => e.preventDefault());

But couldnt find the code to disable the zoom panel. Kindly give me the suggestion to hide disable zoom panel. enter image description here




Aucun commentaire:

Enregistrer un commentaire