RetroDesktopPreview constructor

const RetroDesktopPreview({
  1. Key? key,
  2. required Widget child,
  3. RetroDesktopThemeData? light,
  4. RetroDesktopThemeData? dark,
  5. RetroDesktopPresentation presentation = RetroDesktopPresentation.root,
  6. List<RetroDesktopTab> tabs = const [],
  7. int activeIndex = 0,
  8. ShellAction? action,
  9. String? brand,
  10. bool drawer = false,
  11. PreviewPlatform platform = PreviewPlatform.android,
  12. Brightness brightness = Brightness.light,
})

Creates a RetroDesktopPreview.

Implementation

const RetroDesktopPreview({
  super.key,
  required this.child,
  this.light,
  this.dark,
  this.presentation = RetroDesktopPresentation.root,
  this.tabs = const [],
  this.activeIndex = 0,
  this.action,
  this.brand,
  this.drawer = false,
  this.platform = PreviewPlatform.android,
  this.brightness = Brightness.light,
});