getReferenceSize static method
Gets the latest screen limit which contains width size
Implementation
static getReferenceSize(double width) {
ScreenSize located = limits.keys.first;
for (ScreenSize tag in limits.keys) {
if (limits[tag]! > width) return located;
located = tag;
}
return located;
}