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 shouldHighlight = false,
  6. Color backgroundColor = Colors.blue,
  7. Color highlightColor = Colors.blue,
  8. TileTapCallback<T>? onTileTap,
  9. Color tileColor = Colors.blue,
  10. double highlightRadius = 11,
  11. Color titleColor = Constants.black,
  12. Color highlightedTitleColor = Constants.white,
  13. StringProvider? dateStringBuilder,
})

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

Implementation

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