FactDisplayCard constructor

const FactDisplayCard({
  1. Key? key,
  2. required IconData icon,
  3. required String title,
  4. required String subtitle,
  5. Color iconColor = Colors.blue,
  6. Color backgroundColor = Colors.white,
  7. required bool isDark,
})

Implementation

const FactDisplayCard({
  super.key,
  required this.icon,
  required this.title,
  required this.subtitle,
  this.iconColor = Colors.blue,
  this.backgroundColor = Colors.white,
  required this.isDark,
});