value method
Get the numeric value for a given breakpoint from custom configuration
Implementation
double value(FSBreakpoint breakpoint) {
switch (breakpoint) {
case FSBreakpoint.xs:
return xs;
case FSBreakpoint.sm:
return sm;
case FSBreakpoint.md:
return md;
case FSBreakpoint.lg:
return lg;
case FSBreakpoint.xl:
return xl;
case FSBreakpoint.xxl:
return xxl;
}
}