CourseScaffold constructor
const
CourseScaffold({
- Key? key,
- required CourseState state,
- required CourseData courseData,
- String? title,
- String? customHint,
- SemesterData? semesterData,
- dynamic onSelect(
- int index
- dynamic onRefresh()?,
- List<
Widget> ? actions, - bool enableNotifyControl = true,
- CourseNotifyData? notifyData,
- bool autoNotifySave = true,
- CourseNotifyCallback? onNotifyClick,
- String courseNotifySaveKey = ApConstants.semesterLatest,
- String? customStateHint,
- Widget? itemPicker,
- dynamic onSearchButtonClick()?,
- bool enableAddToCalendar = true,
- String? androidResourceIcon,
- bool enableCaptureCourseTable = false,
- bool? showSectionTime,
- bool? showInstructors,
- bool? showClassroomLocation,
- bool? showSearchButton,
Implementation
const CourseScaffold({
super.key,
required this.state,
required this.courseData,
this.title,
this.customHint,
this.semesterData,
this.onSelect,
this.onRefresh,
this.actions,
this.enableNotifyControl = true,
this.notifyData,
this.autoNotifySave = true,
this.onNotifyClick,
this.courseNotifySaveKey = ApConstants.semesterLatest,
this.customStateHint,
this.itemPicker,
this.onSearchButtonClick,
this.enableAddToCalendar = true,
this.androidResourceIcon,
this.enableCaptureCourseTable = false,
this.showSectionTime,
this.showInstructors,
this.showClassroomLocation,
this.showSearchButton,
});