PopEntry<T> class abstract

Allows listening to and preventing pops.

Can be registered in ModalRoute to listen to pops with onPopInvokedWithResult or to enable/disable them with canPopNotifier.

See also:

Constructors

PopEntry()

Properties

canPopNotifier ValueListenable<bool>
When false, blocks the current route from being popped.
no setter
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
onPopInvoked(bool didPop) → void
Called after a route pop was handled.
onPopInvokedWithResult(bool didPop, T? result) → void
Called after a route pop was handled.
toString() String
A string representation of this object.
override

Operators

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