JxStat constructor

const JxStat({
  1. required String label,
  2. required String value,
  3. String? change,
  4. JxTrend trend = JxTrend.neutral,
  5. String? description,
  6. Map<JxTrend, String> trendLabels = const {JxTrend.up : 'Increase', JxTrend.down : 'Decrease'},
  7. String? classes,
  8. Key? key,
})

Implementation

const JxStat({
  required this.label,
  required this.value,
  this.change,
  this.trend = JxTrend.neutral,
  this.description,
  this.trendLabels = const {JxTrend.up: 'Increase', JxTrend.down: 'Decrease'},
  this.classes,
  super.key,
});