ChapterPanelWidget constructor

const ChapterPanelWidget({
  1. Key? key,
  2. required List<ChapterInfo> chapters,
  3. required int currentIndex,
  4. required ValueChanged<int> onChapterSelected,
  5. VoidCallback? onClose,
})

Implementation

const ChapterPanelWidget({
  super.key,
  required this.chapters,
  required this.currentIndex,
  required this.onChapterSelected,
  this.onClose,
});