LdFrameOptions constructor

const LdFrameOptions({
  1. String label = '',
  2. EdgeInsets viewPaddig = EdgeInsets.zero,
  3. Widget build(
    1. BuildContext context,
    2. Orientation orientation,
    3. Widget child,
    4. bool dark,
    5. SystemUiOverlayStyle navigationBarStyle,
    )?,
  4. double width = 500,
  5. double? height,
  6. double devicePixelRatio = 1.0,
  7. double? screenRadius,
  8. 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,
});