flutter_adaptive_scaffold library
Classes
- AdaptiveLayout
- Layout an app that adapts to different screens using predefined slots.
- AdaptiveScaffold
- Implements the basic visual layout structure for Material Design 3 that adapts to a variety of screens.
- Breakpoint
- A class to define the conditions that distinguish between types of screens.
- Breakpoints
- A group of standard breakpoints built according to the material specifications for screen width size.
- SlotLayout
- A Widget that takes a mapping of SlotLayoutConfigs to Breakpoints and adds the appropriate Widget based on the current screen size.
- SlotLayoutConfig
- Defines how SlotLayout should display under a certain Breakpoint.
Constants
- kMaterialCompactMargin → const double
- Margin value of the compact breakpoint according to the material design 3 spec.
- kMaterialCompactSpacing → const double
- Spacing value of the compact breakpoint according to the material 3 design spec.
- kMaterialMediumAndUpMargin → const double
- Margin value of the medium breakpoint according to the material design 3 spec.
- kMaterialMediumAndUpSpacing → const double
- Spacing value of the medium and up breakpoint according to the material 3 design spec.
- kMaterialPadding → const double
- Padding value of the compact breakpoint according to the material design 3 spec.
Typedefs
- Signature for a builder used by AdaptiveScaffold.navigationRailDestinationBuilder that converts a NavigationDestination to a NavigationRailDestination.