Preview constructor
- String? name,
- Size? size,
- double? textScaleFactor,
- WidgetWrapper? wrapper,
- PreviewTheme? theme,
- Brightness? brightness,
- 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,
});