blob: ede76ec4350da017dd31666647206c172a6e2f82 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// from https://flutter.dev/docs/development/ui/navigation/url-strategies
import 'package:flutter_web_plugins/flutter_web_plugins.dart';
import 'url_path_strategy.dart';
/// forwarding implementation of the URL path strategy for the web target
/// platform
void setUrlPathStrategyImpl(UrlPathStrategy strategy) {
setUrlStrategy(strategy == UrlPathStrategy.path
? PathUrlStrategy()
: const HashUrlStrategy());
}