DeviceDescriptor constructor
const
DeviceDescriptor({
- required String name,
- required Size size,
- required EdgeInsets padding,
- required TargetPlatform platform,
- EdgeInsets? paddingLandscape,
- double cornerRadius = 0.0,
- Size? notchSize,
- bool tablet = false,
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,
});