CourseScaffoldSettingDialog constructor Null safety

const CourseScaffoldSettingDialog(
  1. {Key? key,
  2. required bool? showSectionTime,
  3. required bool? showInstructors,
  4. required bool? showClassroomLocation,
  5. required bool? showSearchButton,
  6. dynamic showSectionTimeOnChanged(
    1. bool?
    )?,
  7. dynamic showInstructorsOnChanged(
    1. bool?
    )?,
  8. dynamic showClassroomLocationOnChanged(
    1. bool?
    )?,
  9. dynamic showSearchButtonOnChanged(
    1. bool?
    )?}
)

Implementation

const CourseScaffoldSettingDialog({
  Key? key,
  required this.showSectionTime,
  required this.showInstructors,
  required this.showClassroomLocation,
  required this.showSearchButton,
  this.showSectionTimeOnChanged,
  this.showInstructorsOnChanged,
  this.showClassroomLocationOnChanged,
  this.showSearchButtonOnChanged,
}) : super(key: key);