MinimalPreview constructor

const MinimalPreview({
  1. required MinimalThemeData light,
  2. required MinimalThemeData dark,
  3. required Widget child,
  4. MinimalPresentation presentation = MinimalPresentation.root,
  5. List<MinimalNavItem> tabs = const <MinimalNavItem>[],
  6. int activeIndex = 0,
  7. MinimalShellAction? action,
  8. Brightness? brightness,
  9. Widget? under,
  10. Key? key,
})

A preview of the page child.

Implementation

const MinimalPreview({
  required this.light,
  required this.dark,
  required this.child,
  this.presentation = MinimalPresentation.root,
  this.tabs = const <MinimalNavItem>[],
  this.activeIndex = 0,
  this.action,
  this.brightness,
  this.under,
  super.key,
});