DynamicCardConfig constructor

const DynamicCardConfig({
  1. String? title,
  2. TextStyle? titleStyle,
  3. CardHeader? header,
  4. List<CardAction>? actions,
  5. List<CardContentItem>? content,
  6. List<CardTab>? tabs,
  7. List<CardContentItem>? leftColumn,
  8. List<CardContentItem>? rightColumn,
  9. int? leftColumnFlex,
  10. int? rightColumnFlex,
  11. int? gridColumns,
  12. double? gridChildAspectRatio,
  13. double? tabContentHeight,
  14. Color? tabLabelColor,
  15. Color? tabUnselectedLabelColor,
  16. Color? tabIndicatorColor,
  17. Widget customBuilder(
    1. BuildContext,
    2. Map<String, dynamic>?,
    3. dynamic (
      1. String,
      2. dynamic
      )?
    )?,
  18. double elevation = 1.0,
  19. double borderRadius = 8.0,
  20. double borderWidth = 1.0,
  21. Color? borderColor,
  22. Color backgroundColor = Colors.white,
  23. EdgeInsets? padding,
  24. EdgeInsets? margin,
  25. 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,
});