[webview_flutter] Pre-emptively ignore prefer_const_constructor warning. (#4550)

diff --git a/packages/webview_flutter/webview_flutter_android/example/lib/web_view.dart b/packages/webview_flutter/webview_flutter_android/example/lib/web_view.dart
index 9a535cc..6a5a3f6 100644
--- a/packages/webview_flutter/webview_flutter_android/example/lib/web_view.dart
+++ b/packages/webview_flutter/webview_flutter_android/example/lib/web_view.dart
@@ -568,6 +568,8 @@
     bool? hasNavigationDelegate;
     bool? hasProgressTracking;
     bool? debuggingEnabled;
+    // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+    // ignore: prefer_const_constructors
     WebSetting<String?> userAgent = WebSetting<String?>.absent();
     bool? zoomEnabled;
     if (currentValue.javascriptMode != newValue.javascriptMode) {
diff --git a/packages/webview_flutter/webview_flutter_android/test/webview_android_widget_test.dart b/packages/webview_flutter/webview_flutter_android/test/webview_android_widget_test.dart
index 0c90f2a..f34fe19 100644
--- a/packages/webview_flutter/webview_flutter_android/test/webview_android_widget_test.dart
+++ b/packages/webview_flutter/webview_flutter_android/test/webview_android_widget_test.dart
@@ -70,6 +70,8 @@
         creationParams: creationParams ??
             CreationParams(
                 webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: hasNavigationDelegate,
               hasProgressTracking: hasProgressTracking,
@@ -121,6 +123,8 @@
           creationParams: CreationParams(
             initialUrl: 'https://www.google.com',
             webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: false,
             ),
@@ -138,6 +142,8 @@
           creationParams: CreationParams(
             userAgent: 'MyUserAgent',
             webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: false,
             ),
@@ -154,6 +160,8 @@
             autoMediaPlaybackPolicy:
                 AutoMediaPlaybackPolicy.require_user_action_for_all_media_types,
             webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: false,
             ),
@@ -169,6 +177,8 @@
           creationParams: CreationParams(
             autoMediaPlaybackPolicy: AutoMediaPlaybackPolicy.always_allow,
             webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: false,
             ),
@@ -184,6 +194,8 @@
           creationParams: CreationParams(
             javascriptChannelNames: <String>{'a', 'b'},
             webSettings: WebSettings(
+              // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+              // ignore: prefer_const_constructors
               userAgent: WebSetting<String?>.absent(),
               hasNavigationDelegate: false,
             ),
@@ -202,6 +214,8 @@
             tester,
             creationParams: CreationParams(
               webSettings: WebSettings(
+                // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+                // ignore: prefer_const_constructors
                 userAgent: WebSetting<String?>.absent(),
                 javascriptMode: JavascriptMode.unrestricted,
                 hasNavigationDelegate: false,
@@ -217,6 +231,8 @@
             tester,
             creationParams: CreationParams(
               webSettings: WebSettings(
+                // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+                // ignore: prefer_const_constructors
                 userAgent: WebSetting<String?>.absent(),
                 hasNavigationDelegate: true,
               ),
@@ -232,6 +248,8 @@
             tester,
             creationParams: CreationParams(
               webSettings: WebSettings(
+                // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+                // ignore: prefer_const_constructors
                 userAgent: WebSetting<String?>.absent(),
                 debuggingEnabled: true,
                 hasNavigationDelegate: false,
@@ -247,6 +265,8 @@
             tester,
             creationParams: CreationParams(
               webSettings: WebSettings(
+                // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+                // ignore: prefer_const_constructors
                 userAgent: WebSetting<String?>.of('myUserAgent'),
                 hasNavigationDelegate: false,
               ),
@@ -261,6 +281,8 @@
             tester,
             creationParams: CreationParams(
               webSettings: WebSettings(
+                // TODO(mvanbeusekom): Cleanup and convert to const constructor when platform_interface is fixed (see https://github.com/flutter/flutter/issues/94311)
+                // ignore: prefer_const_constructors
                 userAgent: WebSetting<String?>.absent(),
                 zoomEnabled: false,
                 hasNavigationDelegate: false,