static CourseConfig of(BuildContext context) { return context.dependOnInheritedWidgetOfExactType()!; }