getBreakpoint static method
Implementation
static TBreakpoint getBreakpoint(double width) {
if (width >= 900) return TBreakpoint.lg;
if (width >= 600) return TBreakpoint.md;
return TBreakpoint.sm;
}
static TBreakpoint getBreakpoint(double width) {
if (width >= 900) return TBreakpoint.lg;
if (width >= 600) return TBreakpoint.md;
return TBreakpoint.sm;
}