DeviceDescriptor constructor

const DeviceDescriptor({
  1. required String name,
  2. required Size size,
  3. required EdgeInsets padding,
  4. required TargetPlatform platform,
  5. EdgeInsets? paddingLandscape,
  6. double cornerRadius = 0.0,
  7. Size? notchSize,
  8. bool tablet = false,
  9. double navBarHeight = 48.0,
})

Implementation

const DeviceDescriptor({
  required this.name,
  required this.size,
  required this.padding,
  required this.platform,
  this.paddingLandscape,
  this.cornerRadius = 0.0,
  this.notchSize,
  this.tablet = false,
  this.navBarHeight = 48.0,
});