PushNotification<T> class

A notification that is dispatched whenever an ImplicitNavigator pushes a new value and/or depth to it's internal navigation stack.

Current depth/value correspond to the new depth and value that were pushed onto the stack. Previous depth/value correspond to the depth and value that were on top of the stack before the push was executed.

Inheritance

Constructors

PushNotification({required T valueAfterPop, required int? currentDepth, required T previousValue, required int? previousDepth})
const

Properties

currentDepth int?
The current value of ImplicitNavigator.depth for the navigator that dispatched this notification.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
previousDepth int?
The old value of ImplicitNavigator.depth from before the action corresponding to this notification was executed.
finalinherited
previousValue → T
The old value of ImplicitNavigator.value from before the action corresponding to this notification was executed.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueAfterPop → T
The current value of ImplicitNavigator.value for the navigator that dispatched this notification.
finalinherited

Methods

debugFillDescription(List<String> description) → void
Add additional information to the given description for use by toString.
inherited
dispatch(BuildContext? target) → void
Start bubbling this notification at the given build context.
inherited
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