DVPageViews class abstract final

The page views of this process.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

current → DVPageView?
The page on screen now, or null before the first one is shown.
no setter

Static Methods

addListener(void listener(DVPageView view)) → void
Calls listener for each page shown from now on, and at once for the page already on screen: a listener that had to wait for something -- consent, a script -- would otherwise miss the landing page, which is the only page most visits have.
removeListener(void listener(DVPageView view)) → void
report(Uri location, {String? title}) → void
Says location is the page on screen.
resetForTesting() → void
Forgets the listeners and the page, for tests.