ChaptersList constructor

ChaptersList({
  1. Key? key,
  2. required List<LocalChapterModel> chapters,
  3. required String bookId,
  4. Widget? leadingIcon,
  5. required Color accentColor,
  6. required String chapterListTitle,
})

Implementation

ChaptersList({
  super.key,
  required this.chapters,
  required this.bookId,
  this.leadingIcon,
  required this.accentColor,
  required this.chapterListTitle,
});