NeomPdfService class

Generates beautifully styled PDFs with configurable branding.

Features:

  • Accent bar header with configurable theme
  • Professional typography (Open Sans family)
  • Brand footprint on every page
  • Markdown parsing: headers, bold, lists, horizontal rules, checkboxes
  • Date stamp on first page

Constructors

NeomPdfService()

Properties

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

Static Methods

generateFromMarkdown({required String content, String title = 'Documento', DocTheme theme = DocTheme.standard}) Future<Uint8List>
Generate a PDF from markdown-like content.
suggestFilename(String content, {String prefix = 'neom'}) String
Detect the best filename from the content (first header or default)
suggestTitle(String content) String
Detect a suitable document title from the content