ui/portable_text_config library

Classes

ErrorView
Renders an error message when a block type is missing a builder or when a mark is misconfigured.
PortableTextConfig
The configuration used for rendering Portable Text. This class is used to define the visual representation of the Portable Text blocks, spans, and marks. It is used by the PortableText widget to render the Portable Text content. The configuration can be customized to match the visual design of the app. The default configuration is based on the Material Design guidelines.

Typedefs

BlockContainerBuilder = Widget Function(BuildContext, Widget)
A function that builds a widget for a Portable block container.
BlockWidgetBuilder = Widget Function(BuildContext context, PortableBlockItem item)
A function that builds a widget for a Portable block item.
TextStyleBuilder = TextStyle Function(BuildContext context, TextStyle base)
A function that builds a text style for a Portable Text block or span.