NiceComparisonDisplay constructor

const NiceComparisonDisplay({
  1. Key? key,
  2. required String leftLabel,
  3. required String leftValue,
  4. required String rightLabel,
  5. required String rightValue,
  6. Color? leftColor,
  7. Color? rightColor,
  8. bool showBar = false,
})

Implementation

const NiceComparisonDisplay({
  super.key,
  required this.leftLabel,
  required this.leftValue,
  required this.rightLabel,
  required this.rightValue,
  this.leftColor,
  this.rightColor,
  this.showBar = false,
});