ExpandableCard constructor
const
ExpandableCard({
- Key? key,
- String? title,
- String? description,
- String? button1Value,
- String? button2Value,
- required String textButtonActionFirst,
- required String textButtonActionSecond,
- required int sectionRowCount,
- required List<
String> sectionRowTitles, - int? totalText,
- Color? backgroundColor,
- double? elevation,
- double? button2Elevation,
- Color? button2Color,
- VoidCallback? onPressedButton2,
- Color? button1TextColor,
- double? button1BorderRadius,
- double? button2BorderRadius,
- 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.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);