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(
      )?,
    1. List<Widget>? actions,
    2. bool enableNotifyControl = true,
    3. CourseNotifyData? notifyData,
    4. bool autoNotifySave = true,
    5. CourseNotifyCallback? onNotifyClick,
    6. String courseNotifySaveKey = ApConstants.semesterLatest,
    7. String? customStateHint,
    8. Widget? itemPicker,
    9. dynamic onSearchButtonClick(
        )?,
      1. bool enableAddToCalendar = true,
      2. String? androidResourceIcon,
      3. bool enableCaptureCourseTable = false,
      4. bool? showSectionTime,
      5. bool? showInstructors,
      6. bool? showClassroomLocation,
      7. bool? showSearchButton}
      )

      Implementation

      const CourseScaffold({
        Key? 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,
      }) : super(key: key);