config/all library
Classes
- BlockConfig
- ContainerConfig
- InlineConfig
- LeafConfig
- MarkdownConfig
- use MarkdownConfig to set various configurations for MarkdownWidget
- MarkdownGenerator
- use MarkdownGenerator to transform markdown data to Widget list, so you can render it by any type of ListView
- 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
- WidgetConfig
Enums
- MarkdownTag
-
the tags of markdown, see
https://spec.commonmark.org/0.30/
Properties
-
headingTag2Level
→ Map<
String, int> -
every heading tag has a special level
final
Typedefs
- RichTextBuilder = Widget Function(InlineSpan span)
- SpanNodeBuilder = TextSpan Function(SpanNode spanNode)
- TocItemBuilder = Widget? Function(TocItemBuilderData data)
- use TocItemBuilder to return a custom widget
-
ValueCallback<
T> = void Function(T value)