adaptiveWindowType property

AdaptiveWindowType adaptiveWindowType
final

Material generalizes the device size into five different windows: extra small, small, medium, large, and extra large.

The adaptive window represents a set of similar devices. For example, if you want to create an adaptive layout for phones and small tablets you would check if your window width is within the range of xsmall and s. If your user has a bigger window size than you would create a different layout for larger screens.

Implementation

final AdaptiveWindowType adaptiveWindowType;