createTabbedCard static method
Creates a card with tabs
Implementation
static DynamicCardConfig createTabbedCard({
required String title,
required List<CardTab> tabs,
double? tabContentHeight,
Color? tabLabelColor,
Color? tabUnselectedLabelColor,
Color? tabIndicatorColor,
TextStyle? titleStyle,
double elevation = 1.0,
Color backgroundColor = Colors.white,
EdgeInsets? padding,
EdgeInsets? margin,
}) {
return DynamicCardConfig(
title: title,
titleStyle: titleStyle,
tabs: tabs,
tabContentHeight: tabContentHeight,
tabLabelColor: tabLabelColor,
tabUnselectedLabelColor: tabUnselectedLabelColor,
tabIndicatorColor: tabIndicatorColor,
elevation: elevation,
backgroundColor: backgroundColor,
padding: padding,
margin: margin,
layout: CardLayout.tabbed,
);
}