activePath property

StackPath<T> get activePath
inherited

Returns the currently active StackPath.

This is the path that contains the currently active route.

Implementation

StackPath<T> get activePath =>
    (activePaths.lastOrNull ?? root) as StackPath<T>;