getSpan method
Gets the span for a specific breakpoint, falling back to smaller sizes or 12 (full width).
Implementation
int getSpan(TBreakpoint bp) {
switch (bp) {
case TBreakpoint.lg:
return lg ?? md ?? sm ?? 12;
case TBreakpoint.md:
return md ?? sm ?? 12;
case TBreakpoint.sm:
return sm ?? 12;
}
}