Returns merged route metadata from the nearest route scope.
Map<String, Object?> useRouteMeta(BuildContext context) { final route = RouteScopeProvider.of(context).route; return route.meta ?? const {}; }