PdfPageChangedDetails class Null safety
Holds the details for the SfPdfViewer.onPageChanged callback, such as newPageNumber, oldPageNumber, isFirstPage and isLastPage.
Constructors
- PdfPageChangedDetails(int newPage, int oldPage, bool isFirst, bool isLast)
- Creates details for SfPdfViewer.onPageChanged callback.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isFirstPage → bool
-
Indicates whether the new page in the SfPdfViewer is the first page or not.
read-only
- isLastPage → bool
-
Indicates whether the new page in the SfPdfViewer is the last page or not.
read-only
- newPageNumber → int
-
The current page number to which the document is navigated to.
read-only
- oldPageNumber → int
-
The page number from which the navigation was initiated.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
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