DocTheme class

Theme configuration for document generation.

Allows customizing colors, branding, and footer text for different apps using neom_docs.

Constructors

DocTheme({PdfColor accentColor = const PdfColor.fromInt(0xFF00E5CC), PdfColor accentDark = const PdfColor.fromInt(0xFF009E8E), String brandName = 'Open Neom', String brandVersion = 'v1.0', String footerLeft = 'Open Neom', String footerCenter = 'Generated with neom_docs — Open Neom'})
const

Properties

accentColor → PdfColor
Primary accent color
final
accentDark → PdfColor
Secondary/dark accent color
final
brandName String
Brand name shown in header
final
brandVersion String
Version string shown in header
final
footerCenter String
Footer text (center)
final
footerLeft String
Footer text (left side)
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

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

Constants

standard → const DocTheme
Default theme