PreviewSpec constructor

const PreviewSpec(
  1. String label,
  2. List<({int height, int width})> portraitSizes, {
  3. bool landscapeOnly = false,
})

Implementation

const PreviewSpec(
  this.label,
  this.portraitSizes, {
  this.landscapeOnly = false,
});