Context class Null safety

Annotations

Constructors

Context({required PdfDocument document, PdfPage? page, PdfGraphics? canvas})
factory

Properties

canvas PdfGraphics
read-only
document PdfDocument
final
hashCode int
The hash code for this object. [...]
read-only, inherited
page PdfPage
read-only
pageNumber int
read-only
pagesCount int
Number of pages in the document. This value is not available in a MultiPage body and will be equal to pageNumber. But can be used in Header and Footer.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({PdfPage? page, PdfGraphics? canvas, Matrix4? ctm, HashMap<Type, Inherited>? inherited}) Context
dependsOn<T>() → T?
inheritFrom(Inherited object) Context
inheritFromAll(Iterable<Inherited> objects) Context
localToGlobal(PdfRect box) PdfRect
localToGlobalPoint(PdfPoint point) PdfPoint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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