AdaptiveDeviceInfo constructor
const
AdaptiveDeviceInfo({
- required double screenWidth,
- required double screenHeight,
- required Orientation orientation,
- required double pixelRatio,
- required DeviceType deviceType,
- required ScreenSize screenSize,
- required Size designSize,
- required double statusBarHeight,
- required double bottomBarHeight,
- required double textScaleFactor,
- required EdgeInsets safeAreaPadding,
Creates device info from screen metrics.
Implementation
const AdaptiveDeviceInfo({
required this.screenWidth,
required this.screenHeight,
required this.orientation,
required this.pixelRatio,
required this.deviceType,
required this.screenSize,
required this.designSize,
required this.statusBarHeight,
required this.bottomBarHeight,
required this.textScaleFactor,
required this.safeAreaPadding,
});