ComicPreview constructor
const
ComicPreview({
- Key? key,
- required Widget child,
- ComicThemeData? light,
- ComicThemeData? dark,
- ComicPresentation presentation = ComicPresentation.root,
- List<
ComicTab> tabs = const [], - int activeIndex = 0,
- ShellAction? action,
- String? brand,
- bool drawer = false,
- PreviewPlatform platform = PreviewPlatform.android,
- Brightness brightness = Brightness.light,
Creates a ComicPreview.
Implementation
const ComicPreview({
super.key,
required this.child,
this.light,
this.dark,
this.presentation = ComicPresentation.root,
this.tabs = const [],
this.activeIndex = 0,
this.action,
this.brand,
this.drawer = false,
this.platform = PreviewPlatform.android,
this.brightness = Brightness.light,
});