PreviewsPackage constructor

const PreviewsPackage(
  1. Pkg pkg, {
  2. String? directory,
  3. List<String>? previewAnnotations,
  4. Device? device,
  5. ScreenOrientation? orientation,
  6. List<PreviewCanvas> canvases = const [],
  7. String? setup,
})

Implementation

const PreviewsPackage(
  super.pkg, {
  this.directory,
  this.previewAnnotations,
  this.device,
  this.orientation,
  this.canvases = const [],
  this.setup,
});