DeviceFrameWrapper constructor
const
DeviceFrameWrapper({
- Key? key,
- required Widget child,
- required DevicePreset device,
- DeviceOrientation orientation = DeviceOrientation.portrait,
- bool showBezel = true,
- Color? screenBackground,
- double? customScale,
- bool showGrid = false,
- bool showCenterGuides = false,
Implementation
const DeviceFrameWrapper({
super.key,
required this.child,
required this.device,
this.orientation = DeviceOrientation.portrait,
this.showBezel = true,
this.screenBackground,
this.customScale,
this.showGrid = false,
this.showCenterGuides = false,
});