isAtLeast method
Whether the current layout width class is at least min on the ordered
scale mobile < tablet < desktop (inclusive lower bound).
The general test behind isTabletOrLarger; use it for an explicit
threshold at the call site — context.isAtLeast(DeviceSize.tablet) reads
as "tablet or wider." The two degenerate ends collapse into existing
getters: isAtLeast(DeviceSize.mobile) is always true, and
isAtLeast(DeviceSize.desktop) equals isDesktop — so DeviceSize.tablet
is the only threshold that adds expressiveness over isMobile /
isDesktop.
Compares DeviceSize declaration order via index, so it relies on the
enum staying declared in ascending-width order (mobile, tablet, desktop).
Implementation
bool isAtLeast(DeviceSize min) => deviceSize.index >= min.index;