DeepNavigationStrategy<T> class abstract

Decides whether a sub navigation will be allowed to go through given the node.

Check out DefaultListDeepNavigationStrategy and FunctionDeepNavigationStrategy for some default implementations of this.

Implementers

Constructors

DeepNavigationStrategy()
const

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldAcceptNavigation(T subNavigation, DeepNavigationNode<T>? root) bool
Checks whether the given subNavigation should accepted into the root. If root is null, that means that it's at the base layer.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createDefault<T>() → dynamic