FilledCell<T extends Object?> constructor

const FilledCell<T extends Object?>({
  1. Key? key,
  2. required DateTime date,
  3. required List<CalendarEventData<T>> events,
  4. bool isInMonth = false,
  5. bool hideDaysNotInMonth = true,
  6. bool shouldHighlight = false,
  7. Color backgroundColor = Colors.blue,
  8. Color highlightColor = Colors.blue,
  9. TileTapCallback<T>? onTileTap,
  10. TileTapCallback<T>? onTileLongTap,
  11. Color tileColor = Colors.blue,
  12. double highlightRadius = 11,
  13. Color titleColor = Constants.black,
  14. Color highlightedTitleColor = Constants.white,
  15. StringProvider? dateStringBuilder,
  16. TileTapCallback<T>? onTileDoubleTap,
})

This class will defines how cell will be displayed. This widget will display all the events as tile below date title.

Implementation

const FilledCell({
  super.key,
  required this.date,
  required this.events,
  this.isInMonth = false,
  this.hideDaysNotInMonth = true,
  this.shouldHighlight = false,
  this.backgroundColor = Colors.blue,
  this.highlightColor = Colors.blue,
  this.onTileTap,
  this.onTileLongTap,
  this.tileColor = Colors.blue,
  this.highlightRadius = 11,
  this.titleColor = Constants.black,
  this.highlightedTitleColor = Constants.white,
  this.dateStringBuilder,
  this.onTileDoubleTap,
});