AppNavigationRecord class
Lightweight record of a navigation call captured while AppNavigator test recording is enabled.
Allows pure Dart unit tests to verify controller navigation calls (App.to,
App.off, App.offAll, App.toNamed, App.back) without pumping a full
widget tree.
Constructors
-
const
Properties
- action → String
-
The navigation action invoked (
'to','off','offAll','toNamed','offNamed','offAllNamed','back').final - arguments → Object?
-
Arguments passed with the navigation call.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageType → Type?
-
Runtime Type of the target widget for widget-based navigation, if any.
final
-
parameters
→ Map<
String, String> ? -
Route parameters passed with the navigation call, if any.
final
- result → Object?
-
Result value passed to
back,off, oroffNamed, if any.final - routeName → String?
-
Route name passed to named or widget navigation, if any.
final
- 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