Called with a new URL and its query parameters.
typedef UOnUrlChanged = void Function(String url, Map<String, String> queryParameters);