You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: packages/webview_flutter/webview_flutter_android/example/lib/web_view.dart
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -568,9 +568,7 @@ class WebViewController {
568
568
bool? hasNavigationDelegate;
569
569
bool? hasProgressTracking;
570
570
bool? debuggingEnabled;
571
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
Copy file name to clipboardExpand all lines: packages/webview_flutter/webview_flutter_android/test/webview_android_widget_test.dart
+11-33Lines changed: 11 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -70,9 +70,7 @@ void main() {
70
70
creationParams: creationParams ??
71
71
CreationParams(
72
72
webSettings:WebSettings(
73
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
127
-
// ignore: prefer_const_constructors
128
-
userAgent:WebSetting<String?>.absent(),
124
+
userAgent:constWebSetting<String?>.absent(),
129
125
hasNavigationDelegate:false,
130
126
),
131
127
),
@@ -142,9 +138,7 @@ void main() {
142
138
creationParams:CreationParams(
143
139
userAgent:'MyUserAgent',
144
140
webSettings:WebSettings(
145
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
181
-
// ignore: prefer_const_constructors
182
-
userAgent:WebSetting<String?>.absent(),
172
+
userAgent:constWebSetting<String?>.absent(),
183
173
hasNavigationDelegate:false,
184
174
),
185
175
),
@@ -194,9 +184,7 @@ void main() {
194
184
creationParams:CreationParams(
195
185
javascriptChannelNames:<String>{'a', 'b'},
196
186
webSettings:WebSettings(
197
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
198
-
// ignore: prefer_const_constructors
199
-
userAgent:WebSetting<String?>.absent(),
187
+
userAgent:constWebSetting<String?>.absent(),
200
188
hasNavigationDelegate:false,
201
189
),
202
190
),
@@ -214,9 +202,7 @@ void main() {
214
202
tester,
215
203
creationParams:CreationParams(
216
204
webSettings:WebSettings(
217
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
218
-
// ignore: prefer_const_constructors
219
-
userAgent:WebSetting<String?>.absent(),
205
+
userAgent:constWebSetting<String?>.absent(),
220
206
javascriptMode:JavascriptMode.unrestricted,
221
207
hasNavigationDelegate:false,
222
208
),
@@ -231,9 +217,7 @@ void main() {
231
217
tester,
232
218
creationParams:CreationParams(
233
219
webSettings:WebSettings(
234
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
235
-
// ignore: prefer_const_constructors
236
-
userAgent:WebSetting<String?>.absent(),
220
+
userAgent:constWebSetting<String?>.absent(),
237
221
hasNavigationDelegate:true,
238
222
),
239
223
),
@@ -248,9 +232,7 @@ void main() {
248
232
tester,
249
233
creationParams:CreationParams(
250
234
webSettings:WebSettings(
251
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
252
-
// ignore: prefer_const_constructors
253
-
userAgent:WebSetting<String?>.absent(),
235
+
userAgent:constWebSetting<String?>.absent(),
254
236
debuggingEnabled:true,
255
237
hasNavigationDelegate:false,
256
238
),
@@ -265,9 +247,7 @@ void main() {
265
247
tester,
266
248
creationParams:CreationParams(
267
249
webSettings:WebSettings(
268
-
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
// TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
0 commit comments