adaptive_style library
Classes
- AdaptiveAlignment
- AdaptiveAlignmentBottomCenter
- AdaptiveAlignmentBottomLeft
- AdaptiveAlignmentBottomRight
- AdaptiveAlignmentCenter
- AdaptiveAlignmentCenterLeft
- AdaptiveAlignmentCenterRight
- AdaptiveAlignmentData
- AdaptiveAlignmentTopCenter
- AdaptiveAlignmentTopLeft
- AdaptiveAlignmentTopRight
- AdaptiveAnchorData
- AdaptiveData
- AdaptivePositioned
- AdaptiveStack
- AdaptiveStackBuilder
- AdaptiveStackLayout
- AdaptiveWidget
- AnchorEdges
- AnchorEdgesBottom
- AnchorEdgesLeft
- AnchorEdgesRight
- AnchorEdgesTop
- InheritedScaleRef
- PositionedData
- ScaleMediaQueryWidget
- ScaleRefProvider
Extension Types
- DeviceSize
-
a collection of well known screen dimesions
as offered by
chrome device toolbar
- SizeScale
Extensions
- ClosestDimentionScaleX on T
-
DeviceSizeAverageSizeX
on Iterable<
DeviceSize> -
MostSimilarSizeX
on Iterable<
DeviceSize> - ReverseScaleX on T
- SizeAreaX on T
Typedefs
-
AdaptiveChildrenBuilder
= List<
Widget> Function(BuildContext context, ScaleRef scaleRef, Size parentSize) - AdaptiveWidgetBuilder = Widget Function(BuildContext context, ScaleRef scaleRef, Size parentSize)
-
a function that return a
Widget
from aBuildContext
aScaleRef
and theSize
of the parent Widget - ScaleMediaQuery = MediaQueryData Function(MediaQueryData mediaQuery, double scale)
- ScaleRef = ({DeviceSize idealSize, SizeScale scale})
- a record representing the closest supported size and the scale between the real size and the supported size
-
ScaleRefNotifier
= RestrictedNotifier<
ScaleRef>