ShadcnMultiPreview constructor
const
ShadcnMultiPreview({
- String? name,
- String? group,
- Size? size,
- double? textScaleFactor,
- WidgetWrapper? wrapper,
- Brightness? brightness,
- PreviewLocalizationsData localizations()?,
- ColorScheme? darkColorScheme,
- ColorScheme? lightColorScheme,
Creates a ShadcnMultiPreview.
Parameters:
name(String?, optional): The name of the preview.group(String?, optional): The group of the preview.size(Size?, optional): The size of the preview.textScaleFactor(double?, optional): The text scale factor of the preview.wrapper(WidgetWrapper?, optional): The widget wrapper for the preview.brightness(Brightness?, optional): The brightness of the preview.localizations(PreviewLocalizationsData Function()?, optional): The localizations for the preview.darkColorScheme(ColorScheme?, optional): The dark color scheme for the preview.lightColorScheme(ColorScheme?, optional): The light color scheme for the preview.
Implementation
const ShadcnMultiPreview({
this.name,
this.group,
this.size,
this.textScaleFactor,
this.wrapper,
this.brightness,
this.localizations,
this.darkColorScheme,
this.lightColorScheme,
});