CNTabScaffold constructor
const
CNTabScaffold({
- Key? key,
- required List<
CNTabBarItem> items, - required int currentIndex,
- required ValueChanged<
int> onTap, - required Widget body,
- Color? tint,
- Color? backgroundColor,
- bool sidebarOnWideScreens = false,
- double sidebarMinWidth = 600,
- CNTabPlacement? placement,
- WidgetBuilder? tabBarBuilder,
Creates an adaptive tab scaffold.
Implementation
const CNTabScaffold({
super.key,
required this.items,
required this.currentIndex,
required this.onTap,
required this.body,
this.tint,
this.backgroundColor,
this.sidebarOnWideScreens = false,
this.sidebarMinWidth = 600,
this.placement,
this.tabBarBuilder,
});