ExpandableCard constructor

const ExpandableCard({
  1. Key? key,
  2. String? title,
  3. String? description,
  4. String? button1Value,
  5. String? button2Value,
  6. required int sectionRowCount,
  7. required List<String> sectionRowTitles,
  8. int? totalText,
  9. Color? backgroundColor,
  10. double? elevation,
  11. double? button2Elevation,
  12. Color? button2Color,
  13. VoidCallback? onPressedButton2,
  14. Color? button1TextColor,
  15. double? button1BorderRadius,
  16. double? button2BorderRadius,
  17. double? cardBorderRadius,
  18. EdgeInsets? padding,
  19. required Map<String, List<String>> sectionRowData,
})

Creates an expandable card view.

Implementation

const ExpandableCard({
  Key? key,
  this.title,
  this.description,
  this.button1Value,
  this.button2Value,
  required this.sectionRowCount,
  required this.sectionRowTitles,
  this.totalText,
  this.backgroundColor,
  this.elevation,
  this.button2Elevation,
  this.button2Color,
  this.onPressedButton2,
  this.button1TextColor,
  this.button1BorderRadius,
  this.button2BorderRadius,
  this.cardBorderRadius,
  this.padding,
  required this.sectionRowData,
}) : super(key: key);