CourseScreen constructor

const CourseScreen({
  1. Key? key,
  2. required LoadedCourse loaded,
  3. required CourseProgressCubit progress,
  4. required CourseScreenDeps deps,
  5. String? draftLabel,
  6. List<CourseIssue> draftWarnings = const [],
  7. bool draftLoading = false,
  8. VoidCallback? onDraftReload,
  9. ValueChanged<String?>? onLessonOpen,
  10. bool desbloqueado = false,
})

Implementation

const CourseScreen({
  super.key,
  required this.loaded,
  required this.progress,
  required this.deps,
  this.draftLabel,
  this.draftWarnings = const [],
  this.draftLoading = false,
  this.onDraftReload,
  this.onLessonOpen,
  this.desbloqueado = false,
});