import 'package:flutter/material.dart'; class StatCell extends StatelessWidget { final IconData icon; final String label; final String value; final bool large; const StatCell({ super.key, required this.icon, required this.label, required this.value, this.large = false, }); @override Widget build(BuildContext context) { return Column(mainAxisSize: MainAxisSize.min, children: [ Icon(icon, size: 16, color: Colors.grey), const SizedBox(height: 2), Text( value, style: TextStyle( fontSize: large ? 20 : 15, fontWeight: FontWeight.w700, fontFeatures: const [FontFeature.tabularFigures()], ), ), Text( label, style: const TextStyle( fontSize: 10, color: Colors.grey, ), ), ]); } }