ExpandableCard constructor

const ExpandableCard({
  1. Key? key,
  2. String? title,
  3. String? description,
  4. String? button1Value,
  5. String? button2Value,
  6. required String textButtonActionFirst,
  7. required String textButtonActionSecond,
  8. required int sectionRowCount,
  9. required List<String> sectionRowTitles,
  10. int? totalText,
  11. Color? backgroundColor,
  12. double? elevation,
  13. double? button2Elevation,
  14. Color? button2Color,
  15. VoidCallback? onPressedButton2,
  16. Color? button1TextColor,
  17. double? button1BorderRadius,
  18. double? button2BorderRadius,
  19. double? cardBorderRadius,
  20. EdgeInsets? padding,
  21. 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.textButtonActionFirst,  // Default text
  required this.textButtonActionSecond,  // Default text
  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);