TocItemBuilder typedef

TocItemBuilder = Widget? Function(TocItemBuilderData data)

use TocItemBuilder to return a custom widget

Implementation

typedef TocItemBuilder = Widget? Function(TocItemBuilderData data);