Companion

Properties

Link copied to clipboard

The set of all size classes. It's supposed to be expanded whenever a new size class is defined. By default WindowSizeClass.calculateFromSize will only return size classes in DefaultSizeClasses in order to avoid behavioral changes when new size classes are added. You can opt in to support all available size classes by doing:

Link copied to clipboard
Link copied to clipboard

The default set of size classes that includes Compact, Medium, and Expanded size classes. Should never expand to ensure behavioral consistency.

Link copied to clipboard
Link copied to clipboard