ExpandableCard constructor

const ExpandableCard({
  1. Key? key,
  2. String? title,
  3. String? description,
  4. String? actionButtonText,
  5. required String expandedButtonText,
  6. required String collapsedButtonText,
  7. required int sectionRowCount,
  8. required List<String> sectionRowTitles,
  9. int? totalText,
  10. Color? backgroundColor,
  11. double? elevation,
  12. double? actionButtonElevation,
  13. Color? actionButtonColor,
  14. VoidCallback? onActionButtonPressed,
  15. Color? expandCollapseButtonTextColor,
  16. double? expandCollapseButtonBorderRadius,
  17. double? actionButtonBorderRadius,
  18. double? cardBorderRadius,
  19. EdgeInsets? padding,
  20. required Map<String, List<String>> sectionRowData,
})

Creates an expandable card view.

Implementation

const ExpandableCard({
  Key? key,
  this.title,
  this.description,
  this.actionButtonText,
  required this.expandedButtonText,
  required this.collapsedButtonText,
  required this.sectionRowCount,
  required this.sectionRowTitles,
  this.totalText,
  this.backgroundColor,
  this.elevation,
  this.actionButtonElevation,
  this.actionButtonColor,
  this.onActionButtonPressed,
  this.expandCollapseButtonTextColor,
  this.expandCollapseButtonBorderRadius,
  this.actionButtonBorderRadius,
  this.cardBorderRadius,
  this.padding,
  required this.sectionRowData,
}) : super(key: key);