getWindowType function

AdaptiveWindowType getWindowType(
  1. BuildContext context
)

Returns the AdaptiveWindowType to the user.

This is useful when the user wants to compare the MediaQuery to the current window size.

Implementation

AdaptiveWindowType getWindowType(BuildContext context) {
  return getBreakpointEntry(context).adaptiveWindowType;
}