CardRowWidget constructor
CardRowWidget({
- Key? key,
- required String label,
- String? value,
- Widget? customValue,
- double? labelfontSize,
- double? valueFontSize,
- FontWeight? labelFontWeight,
- FontWeight? valueFontWeight,
- int? maxLines,
Implementation
CardRowWidget({
super.key,
required this.label,
this.value,
this.customValue,
this.labelfontSize,
this.valueFontSize,
this.labelFontWeight,
this.valueFontWeight,
this.maxLines,
}) {
assert((customValue == null) != (value == null),
'Either customValue or value must be provided, but not both.');
}