fromWidth method
Implementation
ShadBreakpoint fromWidth(double width) {
if (width < sm.value) return tn;
if (width < md.value) return sm;
if (width < lg.value) return md;
if (width < xl.value) return lg;
if (width < xxl.value) return xl;
return xxl;
}