RetroDesktopPreview constructor
const
RetroDesktopPreview({
- Key? key,
- required Widget child,
- RetroDesktopThemeData? light,
- RetroDesktopThemeData? dark,
- RetroDesktopPresentation presentation = RetroDesktopPresentation.root,
- List<
RetroDesktopTab> tabs = const [], - int activeIndex = 0,
- ShellAction? action,
- String? brand,
- bool drawer = false,
- PreviewPlatform platform = PreviewPlatform.android,
- 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,
});