Font class Null safety

Lazy font declaration, registers the font in the document only if needed. Tries to register a font only once

Implementers

Constructors

Font()
Font.courier()
factory
Font.courierBold()
factory
Font.courierBoldOblique()
factory
Font.courierOblique()
factory
Font.helvetica()
factory
Font.helveticaBold()
factory
Font.helveticaBoldOblique()
factory
Font.helveticaOblique()
factory
Font.symbol()
factory
Font.times()
factory
Font.timesBold()
factory
Font.timesBoldItalic()
factory
Font.timesItalic()
factory
Font.ttf(ByteData data)
factory
Font.type1(Type1Fonts font)
Font.zapfDingbats()
factory

Properties

font Type1Fonts?
final
fontName String?
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buildFont(PdfDocument pdfDocument) PdfFont
getFont(Context context) PdfFont?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited