PrintFonts class

Fonts embedded in every generated PDF.

The standard PDF fonts have no euro sign, so the library ships Latin subsets of Noto Sans and Noto Serif under assets/fonts/.

Constructors

PrintFonts({required Font sans, required Font sansBold, required Font serif, required Font serifBold})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sans → Font
final
sansBold → Font
final
serif → Font
final
serifBold → Font
final

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

load() → Future<PrintFonts>