isActive method

bool isActive(
  1. GoRouterState state
)
inherited

Determine if this route is active in any way.

Implementation

bool isActive(GoRouterState state) {
  return isCurrentRoute(state) || isParentRoute(state);
}