Best Way To Calculate Size Of Widgets For Responsiveness

What is the best way to assign sizes to widgets (Texts, Buttons, Padding, Icons…) for the best responsiveness of mobile devices. Most YouTube vloggers assign pixel sizes which causes overflow on devices with smaller viewport. Definately MediaQuery and LayoutBuilder are great, from a production software point of view, what’s the best method. Thanks for your time :hugs: