isCurrentRoute abstract method

bool isCurrentRoute(
  1. BuildContext context,
  2. String path
)

Checks if the current route matches the given path.

Implementation

bool isCurrentRoute(BuildContext context, String path);