QuranKitConfig constructor

const QuranKitConfig({
  1. String fontBaseUrl = '',
  2. QuranStorage? storage,
  3. bool enableAudio = true,
  4. bool enableTafsir = true,
  5. bool enableSearch = true,
  6. bool enableWordByWord = true,
  7. bool enableAsbabNuzul = true,
  8. int defaultReciterIndex = 0,
  9. String defaultTafsirId = 'al-tabari',
  10. String defaultEditionId = 'ar-uthmani',
  11. String defaultQiraa = 'hafs',
  12. QuranReadingTheme? defaultTheme,
  13. int readingGoal = 20,
  14. bool showTajweed = true,
  15. bool enableAutoNightMode = false,
  16. int nightStartHour = 18,
  17. int nightEndHour = 6,
})

Implementation

const QuranKitConfig({
  this.fontBaseUrl = '',
  this.storage,
  this.enableAudio = true,
  this.enableTafsir = true,
  this.enableSearch = true,
  this.enableWordByWord = true,
  this.enableAsbabNuzul = true,
  this.defaultReciterIndex = 0,
  this.defaultTafsirId = 'al-tabari',
  this.defaultEditionId = 'ar-uthmani',
  this.defaultQiraa = 'hafs',
  this.defaultTheme,
  this.readingGoal = 20,
  this.showTajweed = true,
  this.enableAutoNightMode = false,
  this.nightStartHour = 18,
  this.nightEndHour = 6,
});