ScreenAdaptation constructor

const ScreenAdaptation({
  1. Key? key,
  2. required double designWidth,
  3. required ScreenAdaptationChildBuilder builder,
  4. ScreenAdaptationScaleType scaleType = ScreenAdaptationScaleType.auto,
})

Implementation

const ScreenAdaptation({
  super.key,
  required this.designWidth,
  required this.builder,
  this.scaleType = ScreenAdaptationScaleType.auto,
});