PreviewFrame constructor

const PreviewFrame({
  1. required Widget child,
  2. PreviewPlatform platform = PreviewPlatform.android,
  3. Brightness brightness = Brightness.light,
  4. bool device = false,
  5. Key? key,
})

Creates a PreviewFrame.

Implementation

const PreviewFrame({
  required this.child,
  this.platform = PreviewPlatform.android,
  this.brightness = Brightness.light,
  this.device = false,
  super.key,
});