FilledCell<T> constructor
const
FilledCell<T> ({
- Key? key,
- required DateTime date,
- required List<
CalendarEventData< events,T> > - bool isInMonth = false,
- bool shouldHighlight = false,
- Color backgroundColor = Colors.blue,
- Color highlightColor = Colors.blue,
- TileTapCallback<
T> ? onTileTap, - Color tileColor = Colors.blue,
- double highlightRadius = 11,
- Color titleColor = Constants.black,
- Color highlightedTitleColor = Constants.white,
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,
}) : super(key: key);