TodayCard constructor
const
TodayCard({
- Key? key,
- required TodayIcon icon,
- required String header,
- TodayColor headerColor = TodayColor.labelPrimary,
- bool rightChevron = false,
- String? information,
- TodayColor informationColor = TodayColor.labelPrimary,
- bool selected = false,
- bool hoverable = true,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- 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,
});