blob: ee3f1f910f9d7064345f16b38047300acbeb1bbd [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.
/// Defines the parameters of the pending navigation callback.
class NavigationRequest {
/// Creates a [NavigationRequest].
const NavigationRequest({
required this.url,
required this.isMainFrame,
});
/// The URL of the pending navigation request.
final String url;
/// Indicates whether the request was made in the web site's main frame or a subframe.
final bool isMainFrame;
}