Screen constructor

const Screen({
  1. required Size size,
  2. double devicePixelRatio = 1.0,
  3. double textScaleFactor = 1.0,
  4. Brightness platformBrightness = Brightness.light,
  5. EdgeInsets safeArea = EdgeInsets.zero,
  6. bool disableAnimations = true,
  7. String? name,
})

Implementation

const Screen({
  required this.size,
  this.devicePixelRatio = 1.0,
  this.textScaleFactor = 1.0,
  this.platformBrightness = Brightness.light,
  this.safeArea = EdgeInsets.zero,
  this.disableAnimations = true,
  this.name,
});