config/toc library

Classes

Toc
config for toc
TocController
TocController combines TocWidget and MarkdownWidget, you can use it to control the jump between the two, and each TocWidget corresponds to a MarkdownWidget.
TocItemBuilderData
pass TocItemBuilderData to help build your own TocItemBuilder
TocWidget

Properties

headingTag2Level Map<String, int>
every heading tag has a special level
final

Typedefs

TocItemBuilder = Widget? Function(TocItemBuilderData data)
use TocItemBuilder to return a custom widget