calculateWindowSizeClass

Calculates the window's WindowSizeClass.

A new WindowSizeClass will be returned whenever a change causes the width or height of the window to cross a breakpoint, such as when the device is rotated or the window is resized.