CourseScaffold constructor

const CourseScaffold({
  1. Key? key,
  2. required CourseState state,
  3. required CourseData courseData,
  4. String? title,
  5. String? customHint,
  6. SemesterData? semesterData,
  7. dynamic onSelect(
    1. int index
    )?,
  8. dynamic onRefresh()?,
  9. List<Widget>? actions,
  10. bool enableNotifyControl = true,
  11. CourseNotifyData? notifyData,
  12. bool autoNotifySave = true,
  13. CourseNotifyCallback? onNotifyClick,
  14. String courseNotifySaveKey = ApConstants.semesterLatest,
  15. String? customStateHint,
  16. Widget? itemPicker,
  17. dynamic onSearchButtonClick()?,
  18. bool enableAddToCalendar = true,
  19. String? androidResourceIcon,
  20. bool enableCaptureCourseTable = false,
  21. bool? showSectionTime,
  22. bool? showInstructors,
  23. bool? showClassroomLocation,
  24. 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,
});