PdfPageCollection class Null safety

Represents the collection of pages in a PdfDocument .


count int
Gets the total number of the pages.
hashCode int
The hash code for this object. [...]
read-only, inherited
pageAdded PageAddedCallback?
Represents the method that executes on a PdfDocument when a new page is created.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


add() PdfPage
Adds a new page.
indexOf(PdfPage page) int
Gets the index of the page.
insert(int index, [Size? size, PdfMargins? margins, PdfPageRotateAngle? rotation, PdfPageOrientation? orientation]) PdfPage
Inserts a page at the specified index to the last section in the document. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
remove(PdfPage page) → void
Removes the specified page. [...]
removeAt(int index) → void
Removes the page at the given specified index. [...]
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]
operator [](int index) PdfPage
Gets the page by index