EditorialStatTile constructor

const EditorialStatTile({
  1. Key? key,
  2. required String label,
  3. required String value,
  4. String? valueSuffix,
  5. bool loading = false,
  6. String? trend,
  7. TrendDirection trendDirection = TrendDirection.up,
  8. Color? accent,
  9. VoidCallback? onTap,
})

Implementation

const EditorialStatTile({
  super.key,
  required this.label,
  required this.value,
  this.valueSuffix,
  this.loading = false,
  this.trend,
  this.trendDirection = TrendDirection.up,
  this.accent,
  this.onTap,
});