MinimalPreview constructor
const
MinimalPreview({
- required MinimalThemeData light,
- required MinimalThemeData dark,
- required Widget child,
- MinimalPresentation presentation = MinimalPresentation.root,
- List<
MinimalNavItem> tabs = const <MinimalNavItem>[], - int activeIndex = 0,
- MinimalShellAction? action,
- Brightness? brightness,
- Widget? under,
- 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,
});