QueryDevice constructor Null safety

QueryDevice(
  1. {required double minWidth,
  2. required double maxWidth,
  3. BuildContext? context,
  4. int? currentMaxWidth,
  5. Orientation? orientation}
)

Implementation

QueryDevice({
  required this.minWidth,
  required this.maxWidth,
  this.context,
  this.currentMaxWidth,
  this.orientation
});