isDisplaySmallDesktop function
Returns boolean value whether the window is considered medium size.
Used to build adaptive and responsive layouts.
Implementation
bool isDisplaySmallDesktop(BuildContext context) {
return getWindowType(context) == AdaptiveWindowType.medium;
}