build method

  1. @override
Widget build(
  1. BuildContext context,
  2. DocumentView content
)
override

Builds the layout for the content item. This transforms the content into a Flutter Widget.

Implementation

@override
Widget build(BuildContext context, DocumentView content) {
  return DocumentViewBuilder(
    document: content,
    builder: (context, items) => ContentItemsScrollView(items: items),
  );
}