CoursesHome constructor

const CoursesHome({
  1. Key? key,
  2. required AppBusy busy,
  3. ExtrasDoInicio? extras,
  4. Future<List<LoadedCourse>> loadCourses()?,
  5. CoursesCubit? courseStore,
  6. CourseProgressCubit? courseProgress,
  7. SightReadingStore? trainingStore,
  8. SettingsCubit? appSettings,
  9. AparelhoDoApp? aparelho,
  10. Future<Uint8List?> pickCourseFile() = pickLibraryBytes,
  11. String? initialDraftPath,
  12. IncomingPackages? incoming,
  13. Duration incomingDelay = Duration.zero,
  14. AuthStore? authStore,
  15. void onRoundReady(
    1. ScoreRoundRunner runner
    )?,
  16. Future<SoundEngine?> abrirSintetizador()?,
  17. required AppClock clock,
  18. required SeedSource seeds,
  19. bool desbloqueado = false,
  20. SecaoDoInicio primeiraSecao(
    1. VoidCallback abrirConfiguracoes
    )?,
})

Implementation

const CoursesHome({
  super.key,
  required this.busy,
  this.extras,
  this.loadCourses,
  this.courseStore,
  this.courseProgress,
  this.trainingStore,
  this.appSettings,
  this.aparelho,
  this.pickCourseFile = pickLibraryBytes,
  this.initialDraftPath,
  this.incoming,
  this.incomingDelay = Duration.zero,
  this.authStore,
  this.onRoundReady,
  this.abrirSintetizador,
  required this.clock,
  required this.seeds,
  this.desbloqueado = false,
  this.primeiraSecao,
});