AdaptiveWindowType class

Adaptive Window in Material has five different window sizes. Each window size represents a range of devices.

Extra small represents phones and small tablets in portrait view. Small represents tablets in portrait view and phones in landscape view. Medium represents large tablets in landscape view. Large represents computer screens. Extra large represents large computer screens.

https://material.io/design/layout/responsive-layout-grid.html#breakpoints

Properties

hashCode int
The hash code for this object.
no setterinherited
heightLandscapeRangeValues RangeValues
Valid range of height for this window type on landscape mode.
final
heightPortraitRangeValues RangeValues
Valid range of height for this window type on portrait mode.
final
name String
Name based on the AdaptiveWindowType.
final
relativeSize int
Used to set custom comparison operators for the AdaptiveWindowType enum.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widthRangeValues RangeValues
Valid range of width for this window type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator <(AdaptiveWindowType other) bool
operator <=(AdaptiveWindowType other) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(AdaptiveWindowType other) bool
operator >=(AdaptiveWindowType other) bool