ChapterPanelWidget constructor
const
ChapterPanelWidget({
- Key? key,
- required List<
ChapterInfo> chapters, - required int currentIndex,
- required ValueChanged<
int> onChapterSelected, - VoidCallback? onClose,
Implementation
const ChapterPanelWidget({
super.key,
required this.chapters,
required this.currentIndex,
required this.onChapterSelected,
this.onClose,
});