Allow class final

Allows the navigation to proceed.

The then callback runs after the navigation is committed. Errors thrown by this callback are reported via FlutterError.reportError and do not undo the already-committed navigation.

Inheritance

Constructors

Allow({OnEnterThenCallback? then})
Creates an Allow result with an optional then callback executed after navigation completes.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isStop bool
Whether this block represents a hard stop without a follow-up callback.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
then OnEnterThenCallback?
Executed after the decision is committed. Errors are reported and do not revert navigation.
finalinherited

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