ExpandableCard constructor
const
ExpandableCard({
- Key? key,
- String? title,
- String? description,
- String? actionButtonText,
- required String expandedButtonText,
- required String collapsedButtonText,
- required int sectionRowCount,
- required List<
String> sectionRowTitles, - int? totalText,
- Color? backgroundColor,
- double? elevation,
- double? actionButtonElevation,
- Color? actionButtonColor,
- VoidCallback? onActionButtonPressed,
- Color? expandCollapseButtonTextColor,
- double? expandCollapseButtonBorderRadius,
- double? actionButtonBorderRadius,
- double? cardBorderRadius,
- EdgeInsets? padding,
- required Map<
String, List< sectionRowData,String> >
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);