Preview constructor

const Preview({
  1. String? name,
  2. double? width,
  3. double? height,
  4. double? textScaleFactor,
  5. Widget wrapper(
    1. Widget
    )?,
})

Annotation used to mark functions that return widget previews.

Implementation

const Preview({this.name, this.width, this.height, this.textScaleFactor, this.wrapper});