isDisplayDesktop function

bool isDisplayDesktop(
  1. BuildContext context
)

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;