isOfScreenScope method
Implementation
bool isOfScreenScope(MediaQueryData data) {
Size size = data.size;
if (minWidth > size.width ||
minHeight > size.height ||
maxWidth < size.width ||
maxHeight < size.height) {
return false;
}
if (orientation != null && data.orientation != orientation) {
return false;
}
return true;
}