CardRowWidget constructor

CardRowWidget({
  1. Key? key,
  2. required String label,
  3. String? value,
  4. Widget? customValue,
  5. double? labelfontSize,
  6. double? valueFontSize,
  7. FontWeight? labelFontWeight,
  8. FontWeight? valueFontWeight,
  9. 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.');
}