MetricCard constructor

const MetricCard({
  1. Key? key,
  2. required String title,
  3. required String value,
  4. required String subText,
  5. required bool isTrendUp,
  6. required IconData icon,
})

Implementation

const MetricCard({
  Key? key,
  required this.title,
  required this.value,
  required this.subText,
  required this.isTrendUp,
  required this.icon,
}) : super(key: key);