ContentPage constructor

const ContentPage({
  1. required ContentDocument document,
  2. Component layoutBuilder(
    1. BuildContext,
    2. ContentDocument,
    3. List<Component>
    )?,
  3. bool showToc = true,
  4. String? contentClasses,
})

Implementation

const ContentPage({
  required this.document,
  this.layoutBuilder,
  this.showToc = true,
  this.contentClasses,
});