chapters property

List<ChapterInfo> chapters
final

章节信息列表(可选)

当传入章节数据时使用。 提供后,BottomBarSlot 会自动在进度条上绘制章节标记点, 并在用户 Seek 时显示当前章节信息。 默认为空列表,表示无章节数据。

Chapter info list.

Used when chapter data is provided. When provided, BottomBarSlot will automatically draw chapter markers on the progress bar and display chapter info during seek. Defaults to an empty list, indicating no chapter data.

Implementation

final List<ChapterInfo> chapters;