DayItem constructor

const DayItem({
  1. Key? key,
  2. required int dayNumber,
  3. required String shortName,
  4. required Function onTap,
  5. bool isSelected = false,
  6. Color? dayColor,
  7. Color? activeDayColor,
  8. Color? activeDayBackgroundColor,
  9. bool available = true,
  10. Color? dotsColor,
  11. Color? dayNameColor,
  12. bool shrink = false,
})

Implementation

const DayItem({
  Key? key,
  required this.dayNumber,
  required this.shortName,
  required this.onTap,
  this.isSelected = false,
  this.dayColor,
  this.activeDayColor,
  this.activeDayBackgroundColor,
  this.available = true,
  this.dotsColor,
  this.dayNameColor,
  this.shrink = false,
}) : super(key: key);