How do I make zoom in and zoom out of page?

hi,
how to make zoom in and zoom out of page by touch up by fingers ,, ex:

You can zoom a webview, and there are some extensions available to help you zoom an image component, but I have not seen anything that enables you to zoom a screen or screens in the app.

Someone else may know different....

**The subject is that I already have a program, but I want to zoom the page by swiping my fingers in the x or y direction so that if there is text, an image, and all the components, I can zoom in on them together.

I have already searched for the topic on the forum, YouTube, and even Google, but to no avail. The problem is at the beginning of programming the idea, and it is in the touch up or touch down component, I did not find it.