DuxtContentPage class

Renders markdown content pages with the unified layout system

This component is automatically used by generated routes when a route points to a markdown file in a module's content directory.

Constructors

DuxtContentPage({Key? key, required ContentRouteInfo routeInfo, DuxtPageConfig? config})
const

Properties

config DuxtPageConfig?
final
hashCode int
The hash code for this object.
no setterinherited
key → Key?
Controls how one component replaces another component in the tree.
finalinherited
routeInfo ContentRouteInfo
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildContext context) Future<Component>
createElement() → Element
Inflates this configuration to a concrete instance.
inherited
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