CourseList constructor

const CourseList({
  1. Key? key,
  2. required List<Course> courses,
  3. List<String> invisibleCourseCodes = const <String>[],
  4. void onVisibilityChanged(
    1. Course,
    2. bool
    )?,
  5. List<TimeCode>? timeCodes,
})

Implementation

const CourseList({
  Key? key,
  required this.courses,
  this.invisibleCourseCodes = const <String>[],
  this.onVisibilityChanged,
  this.timeCodes,
}) : super(key: key);