components/screen_adaptation library

Enums

ScreenAdaptationScaleType
none: 不做缩放 auto: 竖屏按宽缩放,横屏(宽 >= 高 * 1.1)不缩放 width: 按宽缩放

Typedefs

ScreenAdaptationChildBuilder = Widget Function(BuildContext context, bool scaled)