ComicPreview constructor

const ComicPreview({
  1. Key? key,
  2. required Widget child,
  3. ComicThemeData? light,
  4. ComicThemeData? dark,
  5. ComicPresentation presentation = ComicPresentation.root,
  6. List<ComicTab> 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 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,
});