sectionResolver property
final
Optional function that resolves a zero-based pageIndex to the TOC section name that contains that page.
If null, no section label is shown on result cards.
Implementation
final String? Function(int pageIndex)? sectionResolver;