DynamicCardConfig constructor
const
DynamicCardConfig({
- String? title,
- TextStyle? titleStyle,
- CardHeader? header,
- List<
CardAction> ? actions, - List<
CardContentItem> ? content, - List<
CardTab> ? tabs, - List<
CardContentItem> ? leftColumn, - List<
CardContentItem> ? rightColumn, - int? leftColumnFlex,
- int? rightColumnFlex,
- int? gridColumns,
- double? gridChildAspectRatio,
- double? tabContentHeight,
- Color? tabLabelColor,
- Color? tabUnselectedLabelColor,
- Color? tabIndicatorColor,
- Widget customBuilder(
- BuildContext,
- Map<
String, dynamic> ?, - dynamic (
- String,
- dynamic
- double elevation = 1.0,
- double borderRadius = 8.0,
- double borderWidth = 1.0,
- Color? borderColor,
- Color backgroundColor = Colors.white,
- EdgeInsets? padding,
- EdgeInsets? margin,
- CardLayout layout = CardLayout.basic,
Implementation
const DynamicCardConfig({
this.title,
this.titleStyle,
this.header,
this.actions,
this.content,
this.tabs,
this.leftColumn,
this.rightColumn,
this.leftColumnFlex,
this.rightColumnFlex,
this.gridColumns,
this.gridChildAspectRatio,
this.tabContentHeight,
this.tabLabelColor,
this.tabUnselectedLabelColor,
this.tabIndicatorColor,
this.customBuilder,
this.elevation = 1.0,
this.borderRadius = 8.0,
this.borderWidth = 1.0,
this.borderColor,
this.backgroundColor = Colors.white,
this.padding,
this.margin,
this.layout = CardLayout.basic,
});