init method

ScreenScaleProperties init({
  1. double? width,
  2. double? height,
  3. bool? allowFontScaling,
  4. required bool allowSubpixel,
  5. double? maxWidth,
})

Implementation

ScreenScaleProperties init({
  double? width,
  double? height,
  bool? allowFontScaling,
  required bool allowSubpixel,
  double? maxWidth,
}) {
  return ScreenScaleProperties(
      width: width,
      height: height,
      maxWidth: maxWidth,
      allowFontScaling: allowFontScaling,
      allowSubpixel: allowSubpixel);
}