AssertionNavigation class

Assertions that inspect navigation state rather than rendered widgets.

Keeping these checks together gives the assertion engine one small boundary for navigation state and prevents it from accumulating application flow details as new widget assertions are added.

Constructors

AssertionNavigation({required NavigationFlowRecorder navigationFlow})

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

expectBackStack(List<String> screens) → void
expectCanGoBack(bool expected) → void
expectNavigateTo(String screenName) → void
expectNotVisited(String screenName) → void
expectVisited(String screenName) → void
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