largerThan method
Checks if the current screen width is larger than a custom breakpoint Returns true if the screen width is strictly greater than the specified breakpoint Returns false if the breakpoint name is not found in customBreakpoints
Implementation
bool largerThan(String breakpointName) {
final customBreakpoints =
ResponsiveMediaBreakpointConfig.customBreakpoints;
if (!customBreakpoints.containsKey(breakpointName)) {
return false;
}
return screenWidth > customBreakpoints[breakpointName]!;
}