TodayCard constructor

const TodayCard({
  1. Key? key,
  2. required TodayIcon icon,
  3. required String header,
  4. TodayColor headerColor = TodayColor.labelPrimary,
  5. bool rightChevron = false,
  6. String? information,
  7. TodayColor informationColor = TodayColor.labelPrimary,
  8. bool selected = false,
  9. bool hoverable = true,
  10. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  11. required Function onTap,
})

Implementation

const TodayCard({
  super.key,
  required this.icon,
  required this.header,
  this.headerColor = TodayColor.labelPrimary,
  this.rightChevron = false,
  this.information,
  this.informationColor = TodayColor.labelPrimary,
  this.selected = false,
  this.hoverable = true,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  required this.onTap,
});