isDisplayDesktop function
Returns a boolean value whether the window is considered medium or large size.
Used to build adaptive and responsive layouts.
Implementation
bool isDisplayDesktop(BuildContext context) =>
getWindowType(context) >= AdaptiveWindowType.medium;