@@ -134,7 +136,8 @@ class InAppWebViewInitialData {
...
@@ -134,7 +136,8 @@ class InAppWebViewInitialData {
///The URL to use as the history entry. The default value is `about:blank`. If non-null, this must be a valid URL. This parameter is used only on Android.
///The URL to use as the history entry. The default value is `about:blank`. If non-null, this must be a valid URL. This parameter is used only on Android.
StringhistoryUrl;
StringhistoryUrl;
InAppWebViewInitialData({@requiredthis.data,
InAppWebViewInitialData(
{@requiredthis.data,
this.mimeType="text/html",
this.mimeType="text/html",
this.encoding="utf8",
this.encoding="utf8",
this.baseUrl="about:blank",
this.baseUrl="about:blank",
...
@@ -196,7 +199,8 @@ class WebResourceRequest {
...
@@ -196,7 +199,8 @@ class WebResourceRequest {
///**NOTE**: Available on Android 21+. For Android < 21 it will be always `false`.
///**NOTE**: Available on Android 21+. For Android < 21 it will be always `false`.
boolisRedirect;
boolisRedirect;
WebResourceRequest({@requiredthis.url,
WebResourceRequest(
{@requiredthis.url,
this.headers,
this.headers,
this.method,
this.method,
this.hasGesture,
this.hasGesture,
...
@@ -255,7 +259,8 @@ class WebResourceResponse {
...
@@ -255,7 +259,8 @@ class WebResourceResponse {
///**NOTE**: Available on Android 21+. For Android < 21 it won't be used.
///**NOTE**: Available on Android 21+. For Android < 21 it won't be used.
StringreasonPhrase;
StringreasonPhrase;
WebResourceResponse({this.contentType="",
WebResourceResponse(
{this.contentType="",
this.contentEncoding="utf-8",
this.contentEncoding="utf-8",
this.data,
this.data,
this.headers,
this.headers,
...
@@ -294,7 +299,8 @@ class CustomSchemeResponse {
...
@@ -294,7 +299,8 @@ class CustomSchemeResponse {
///Content-Enconding of the data, such as `utf-8`.
///Content-Enconding of the data, such as `utf-8`.
StringcontentEnconding;
StringcontentEnconding;
CustomSchemeResponse({@requiredthis.data,
CustomSchemeResponse(
{@requiredthis.data,
@requiredthis.contentType,
@requiredthis.contentType,
this.contentEnconding='utf-8'});
this.contentEnconding='utf-8'});
...
@@ -463,7 +469,8 @@ class JsAlertResponse {
...
@@ -463,7 +469,8 @@ class JsAlertResponse {
///Action used to confirm that the user hit confirm button.
///Action used to confirm that the user hit confirm button.
JsAlertResponseActionaction;
JsAlertResponseActionaction;
JsAlertResponse({this.message="",
JsAlertResponse(
{this.message="",
this.handledByClient=false,
this.handledByClient=false,
this.confirmButtonTitle="",
this.confirmButtonTitle="",
this.action=JsAlertResponseAction.CONFIRM});
this.action=JsAlertResponseAction.CONFIRM});
...
@@ -521,7 +528,8 @@ class JsConfirmResponse {
...
@@ -521,7 +528,8 @@ class JsConfirmResponse {
///Action used to confirm that the user hit confirm or cancel button.
///Action used to confirm that the user hit confirm or cancel button.
JsConfirmResponseActionaction;
JsConfirmResponseActionaction;
JsConfirmResponse({this.message="",
JsConfirmResponse(
{this.message="",
this.handledByClient=false,
this.handledByClient=false,
this.confirmButtonTitle="",
this.confirmButtonTitle="",
this.cancelButtonTitle="",
this.cancelButtonTitle="",
...
@@ -587,7 +595,8 @@ class JsPromptResponse {
...
@@ -587,7 +595,8 @@ class JsPromptResponse {
///Action used to confirm that the user hit confirm or cancel button.
///Action used to confirm that the user hit confirm or cancel button.
@@ -3318,7 +3380,8 @@ class RendererPriorityPolicy {
...
@@ -3318,7 +3380,8 @@ class RendererPriorityPolicy {
///If true, this flag specifies that when this WebView is not visible, it will be treated as if it had requested a priority of [RendererPriority.RENDERER_PRIORITY_WAIVED].
///If true, this flag specifies that when this WebView is not visible, it will be treated as if it had requested a priority of [RendererPriority.RENDERER_PRIORITY_WAIVED].