smallerThan method
Is the screenWidth smaller than the name?
Defaults to false if the name cannot be found.
Implementation
bool smallerThan(String name) =>
screenWidth <
(breakpoints.firstWhereOrNull((element) => element.name == name)?.start ??
0);