CourseContent constructor
const
CourseContent({
- Key? key,
- required bool enableNotifyControl,
- required Course course,
- required TimeCode timeCode,
- required int weekday,
- CourseNotifyData? notifyData,
- bool autoNotifySave = true,
- CourseNotifyCallback? onNotifyClick,
- String courseNotifySaveKey = ApConstants.semesterLatest,
- bool enableAddToCalendar = true,
- String? androidResourceIcon,
- List<
String> invisibleCourseCodes = const <String>[], - ValueChanged<
bool> ? onVisibilityChanged,
Implementation
const CourseContent({
Key? key,
required this.enableNotifyControl,
required this.course,
required this.timeCode,
required this.weekday,
this.notifyData,
this.autoNotifySave = true,
this.onNotifyClick,
this.courseNotifySaveKey = ApConstants.semesterLatest,
this.enableAddToCalendar = true,
this.androidResourceIcon,
this.invisibleCourseCodes = const <String>[],
this.onVisibilityChanged,
}) : super(key: key);