DeviceInformation constructor Null safety

DeviceInformation(
  1. {Orientation? orientation,
  2. DeviceTypeInformation? deviceTypeInformation,
  3. Brightness? platformBrightness,
  4. Size? parentWidgetSize,
  5. double? localWidgetWidth,
  6. double? localWidgetHeight}
)

Constructor for this class

Implementation

DeviceInformation({
  this.orientation,
  this.deviceTypeInformation,
  this.platformBrightness,
  this.parentWidgetSize,
  this.localWidgetWidth,
  this.localWidgetHeight,
});