Preview constructor

const Preview({
  1. String? name,
  2. Size? size,
  3. double? textScaleFactor,
  4. WidgetWrapper? wrapper,
  5. PreviewTheme? theme,
  6. Brightness? brightness,
  7. PreviewLocalizations? localizations,
})

Annotation used to mark functions that return widget previews.

Implementation

const Preview({
  this.name,
  this.size,
  this.textScaleFactor,
  this.wrapper,
  this.theme,
  this.brightness,
  this.localizations,
});