Device constructor Null safety

const Device(
  1. {required String name,
  2. required TargetPlatform platform,
  3. required Size screenSize,
  4. required EdgeInsets screenPadding}
)

Implementation

const Device({
  required this.name,
  required this.platform,
  required this.screenSize,
  required this.screenPadding,
});