LdFrameOptions constructor
const
LdFrameOptions({
- String label = '',
- EdgeInsets viewPaddig = EdgeInsets.zero,
- Widget build(
- BuildContext context,
- Orientation orientation,
- Widget child,
- bool dark,
- double width = 500,
- double? height,
- double devicePixelRatio = 1.0,
- double? screenRadius,
- TargetPlatform? targetPlatform,
Creates a configuration for a device frame.
The viewPaddig defaults to EdgeInsets.zero if not specified.
The width defaults to 500 logical pixels.
The devicePixelRatio defaults to 1.0.
The showBackButton defaults to false.
Implementation
const LdFrameOptions({
this.label = '',
this.viewPaddig = EdgeInsets.zero,
this.build,
this.width = 500,
this.height,
this.devicePixelRatio = 1.0,
this.screenRadius,
this.targetPlatform,
});