DocumentBuilder<T extends ContentItem> typedef

DocumentBuilder<T extends ContentItem> = Widget Function(BuildContext, T)

A widget that renders a Document from the CMS.

It can display the document in a variety of ways, from a simple text representation to a fully custom layout.

If the document is not found, the widget will display a "Not Found" message.

Implementation

typedef DocumentBuilder<T extends ContentItem> = Widget Function(
    BuildContext, T);