DocumentLocation class

Where the reader is in a document: "page 3 of 12", "row 40 of 900".

Annotations

Constructors

DocumentLocation({required int current, required int count, required DocumentUnit unit})
A location of current out of count units.
const

Properties

count → int
How many there are (100 for DocumentUnit.percent).
final
current → int
The page, slide, row or line in view, from 1; or the percentage, from 0, for DocumentUnit.percent.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → DocumentUnit
What current and count count.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

none → const DocumentLocation
Before a document is loaded.