ShadcnMultiPreview constructor

const ShadcnMultiPreview({
  1. String? name,
  2. String? group,
  3. Size? size,
  4. double? textScaleFactor,
  5. WidgetWrapper? wrapper,
  6. Brightness? brightness,
  7. PreviewLocalizationsData localizations()?,
  8. ColorScheme? darkColorScheme,
  9. 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,
});