WeeklyTimetable constructor
const
WeeklyTimetable({
- Key? key,
- required List<
String> columnHeaders, - required Map<
String, List< events,TimetableEvent> > - int? startTime,
- int? endTime,
- double headerHeight = 30.0,
- double timeHeaderWidth = 30.0,
- double cellHeight = 60.0,
- Color gridColor = const Color(0xFFE0E0E0),
- Color? headerBackgroundColor,
- Color? timeHeaderBackgroundColor,
- Color? cellBackgroundColor,
- BoxDecoration? headerDecoration,
- BoxDecoration? timeHeaderDecoration,
- BoxDecoration? cellDecoration,
- BoxDecoration? eventCellDecoration,
- TextStyle? headerTextStyle,
- TextStyle? timeTextStyle,
- TextStyle? eventTextStyle,
- BorderRadius? borderRadius,
- dynamic onEventTap()?,
Implementation
const WeeklyTimetable({
super.key,
required this.columnHeaders,
required this.events,
this.startTime,
this.endTime,
this.headerHeight = 30.0,
this.timeHeaderWidth = 30.0,
this.cellHeight = 60.0,
this.gridColor = const Color(0xFFE0E0E0),
this.headerBackgroundColor,
this.timeHeaderBackgroundColor,
this.cellBackgroundColor,
this.headerDecoration,
this.timeHeaderDecoration,
this.cellDecoration,
this.eventCellDecoration,
this.headerTextStyle,
this.timeTextStyle,
this.eventTextStyle,
this.borderRadius,
this.onEventTap,
});