MarkdownContentPage class

A reusable widget for displaying markdown content with an appendix file table.

This widget consolidates the common functionality between BlogPage and MediaCriticsPage, reducing code duplication and improving maintainability.

Example usage:

MarkdownContentPage(
  appAttributes: appAttributes,
  footer: footer,
  config: blogPageConfig,
  appendixTitle: 'References',
)

Constructors

MarkdownContentPage({dynamic key, required dynamic appAttributes, required dynamic footer, required MarkdownContentConfig config, String appendixTitle = 'Appendix'})
const

Properties

appAttributes → dynamic
The application-wide attributes for theming and layout.
final
appendixTitle String
The title displayed above the appendix file table.
final
config MarkdownContentConfig
The configuration containing markdown file path and appendix documents.
final
The footer widget to display at the bottom of the page.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(dynamic context) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited