isLessThan method

bool isLessThan(
  1. double screenWidth,
  2. FSBreakpoint breakpoint
)

Check if screen width is less than a specific breakpoint

Implementation

bool isLessThan(double screenWidth, FSBreakpoint breakpoint) {
  return screenWidth < value(breakpoint);
}