adaptive_style library

Extension Types

DeviceSize
a collection of well known screen dimesions as offered by chrome device toolbar
SizeScale

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 a BuildContext a ScaleRef and the Size 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>