window_size_classes library
Window size classes for adaptive Material Design 3 layouts.
This library provides window size classes as defined by Material Design 3, enabling responsive layouts that adapt to different window sizes and available space.
Window size classes categorize the space available to your application into discrete breakpoints, regardless of the physical device type.
See also:
Classes
- WindowSizeClass
- Helper class for retrieving the WindowWidthClass and WindowHeightClass for the current screen size.
Enums
- WindowHeightClass
- Opinionated set of vertical viewport breakpoints.
- WindowWidthClass
- Opinionated set of horizontal viewport breakpoints.
Constants
- expandedHeightBreakpoint → const double
- The minimum height for WindowHeightClass.expanded layouts.
- expandedWidthBreakpoint → const double
- The minimum width for WindowWidthClass.expanded layouts.
- extraLargeWidthBreakpoint → const double
- The minimum width for WindowWidthClass.extraLarge layouts.
- largeWidthBreakpoint → const double
- The minimum width for WindowWidthClass.large layouts.
- mediumHeightBreakpoint → const double
- The minimum height for WindowHeightClass.medium layouts.
- mediumWidthBreakpoint → const double
- The minimum width for WindowWidthClass.medium layouts.