Timetable<T> constructor
const
Timetable<T> ({
- Key? key,
- TimetableController? controller,
- Widget cellBuilder()?,
- Widget headerCellBuilder()?,
- List<
TimetableItem< items = const [],T> > - Widget itemBuilder()?,
- Widget hourLabelBuilder(
- TimeOfDay time
- Color? nowIndicatorColor,
- Widget cornerBuilder(
- DateTime current
- bool snapToDay = true,
- Duration snapAnimationDuration = const Duration(milliseconds: 300),
- Curve snapAnimationCurve = Curves.bounceOut,
The Timetable widget displays calendar like view of the events that scrolls horizontally through the days and vertical through the hours.
Implementation
const Timetable({
super.key,
this.controller,
this.cellBuilder,
this.headerCellBuilder,
this.items = const [],
this.itemBuilder,
this.hourLabelBuilder,
this.nowIndicatorColor,
this.cornerBuilder,
this.snapToDay = true,
this.snapAnimationDuration = const Duration(milliseconds: 300),
this.snapAnimationCurve = Curves.bounceOut,
});