How do you Adjust font size with different screen widths !?

Hi , I am glad that is the first post for me I was always solving my complicated issues by searching in topics but now I have a big problem , I created an app that looks amazing on my phone and also on other devices but there's a little problem that the font size of some components don't match with some other devices, sometimes bigger sometimes smaller, I want to guarantee that the font size match with any screen width is there any suggested formulas or extension for that !!? Pls I need help :pray: