ShellRouteMatch constructor

ShellRouteMatch({
  1. required ShellRouteBase route,
  2. required List<RouteMatchBase> matches,
  3. required String matchedLocation,
  4. required ValueKey<String> pageKey,
  5. required GlobalKey<NavigatorState> navigatorKey,
})

Create a match.

Implementation

ShellRouteMatch({
  required this.route,
  required this.matches,
  required this.matchedLocation,
  required this.pageKey,
  required this.navigatorKey,
}) : assert(matches.isNotEmpty);