DeviceInfo.withValues constructor Null safety
- {required double width,
- required double height,
- required EdgeInsets viewPadding}
Named constructor to create DeviceInfo without a BuildContext.
Implementation
DeviceInfo.withValues(
{required this.width, required this.height, required this.viewPadding});