Screen constructor
const
Screen({
- required Size size,
- double devicePixelRatio = 1.0,
- double textScaleFactor = 1.0,
- Brightness platformBrightness = Brightness.light,
- EdgeInsets safeArea = EdgeInsets.zero,
- bool disableAnimations = true,
- 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,
});