// Copyright 2013 The Flutter Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import 'package:go_router/go_router.dart'; void main() { const GoRouterState state = GoRouterState(); final GoRouter router = GoRouter(routes: []); state.fullPath; state.pathParameters; state.matchedLocation; state.uri.queryParameters; state.namedLocation( 'name', pathParameters: {}, queryParameters: {}, ); router.namedLocation( 'name', pathParameters: {}, queryParameters: {}, ); router.goNamed( 'name', pathParameters: {}, queryParameters: {}, ); router.pushNamed( 'name', pathParameters: {}, queryParameters: {}, ); router.pushReplacementNamed( 'name', pathParameters: {}, queryParameters: {}, ); router.replaceNamed( 'name', pathParameters: {}, queryParameters: {}, ); state.uri.queryParametersAll; state.uri.toString(); }