BlogPageConfig class
Configuration for a blog page loaded from JSON settings.
This class holds all metadata and content paths needed to render a blog post, including the markdown file path, image directory, and appendix documents.
Implements MarkdownContentConfig to enable use with MarkdownContentPage.
Constructors
-
BlogPageConfig.fromJsonFile(Map<
String, dynamic> jsonFile) - Creates a BlogPageConfig from a JSON map.
Properties
-
docsDesc
→ List<
Map< String, String> > -
List of appendix document configurations.
final
- fileAdditionalInfo → String
-
Additional information about the file.
final
- fileBaseDir → String
-
Base directory for file downloads.
final
- filePath → String
-
Path to the markdown content file.
final
- fileTitle → String
-
Title of the associated file.
final
- githubRepo → String
-
GitHub repository URL for the project.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageDir → String
-
Directory containing images referenced in the markdown.
final
- landingPageAlignment → String
-
Alignment of the entry on the landing page ('left' or 'right').
final
- landingPageEntryImageCaptioning → String?
-
Optional caption for the landing page image.
final
- landingPageEntryImagePath → String
-
Path to the image displayed on the landing page.
final
- lastModified → String
-
Last modification date string.
final
- routingName → String
-
The URL-friendly name used for routing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortDescriptionDE → String
-
Short description in German for previews and SEO.
final
- shortDescriptionEN → String
-
Short description in English for previews and SEO.
final
Methods
-
getRoutingName(
) → String -
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