Change `:` to `=` for default values in sdk/

Change-Id: I1939b0998343c36eab162a015fcf9eeb7e1dd7bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/256123
Commit-Queue: Lasse Nielsen <lrn@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
Commit-Queue: Michael Thomsen <mit@google.com>
diff --git a/sdk/lib/_internal/js_runtime/lib/core_patch.dart b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
index aa98b42..442c3cf 100644
--- a/sdk/lib/_internal/js_runtime/lib/core_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/core_patch.dart
@@ -266,13 +266,13 @@
 class DateTime {
   @patch
   DateTime.fromMillisecondsSinceEpoch(int millisecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       // `0 + millisecondsSinceEpoch` forces the inferred result to be non-null.
       : this._withValue(0 + millisecondsSinceEpoch, isUtc: isUtc);
 
   @patch
   DateTime.fromMicrosecondsSinceEpoch(int microsecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       : this._withValue(
             _microsecondInRoundedMilliseconds(microsecondsSinceEpoch),
             isUtc: isUtc);
@@ -440,7 +440,7 @@
   factory List([int? length]) = JSArray<E>.list;
 
   @patch
-  factory List.filled(int length, E fill, {bool growable: false}) {
+  factory List.filled(int length, E fill, {bool growable = false}) {
     var result = growable
         ? new JSArray<E>.growable(length)
         : new JSArray<E>.fixed(length);
@@ -456,12 +456,12 @@
   }
 
   @patch
-  factory List.empty({bool growable: false}) {
+  factory List.empty({bool growable = false}) {
     return growable ? new JSArray<E>.growable(0) : new JSArray<E>.fixed(0);
   }
 
   @patch
-  factory List.from(Iterable elements, {bool growable: true}) {
+  factory List.from(Iterable elements, {bool growable = true}) {
     List<E> list = <E>[];
     for (E e in elements) {
       list.add(e);
@@ -471,7 +471,7 @@
   }
 
   @patch
-  factory List.of(Iterable<E> elements, {bool growable: true}) {
+  factory List.of(Iterable<E> elements, {bool growable = true}) {
     if (growable == true) return List._of(elements);
     if (growable == false) return List._fixedOf(elements);
 
@@ -606,10 +606,10 @@
   @pragma('dart2js:noInline')
   @patch
   factory RegExp(String source,
-          {bool multiLine: false,
-          bool caseSensitive: true,
-          bool unicode: false,
-          bool dotAll: false}) =>
+          {bool multiLine = false,
+          bool caseSensitive = true,
+          bool unicode = false,
+          bool dotAll = false}) =>
       new JSSyntaxRegExp(source,
           multiLine: multiLine,
           caseSensitive: caseSensitive,
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
index f795f7c..bb5956c 100644
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
@@ -352,9 +352,9 @@
   static Future<Process> start(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      ProcessStartMode mode: ProcessStartMode.normal}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      ProcessStartMode mode = ProcessStartMode.normal}) {
     throw new UnsupportedError("Process.start");
   }
 
@@ -362,10 +362,10 @@
   static Future<ProcessResult> run(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     throw new UnsupportedError("Process.run");
   }
 
@@ -373,10 +373,10 @@
   static ProcessResult runSync(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     throw new UnsupportedError("Process.runSync");
   }
 
@@ -421,7 +421,7 @@
 
   @patch
   static Future<List<InternetAddress>> lookup(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     throw new UnsupportedError("InternetAddress.lookup");
   }
 
@@ -446,9 +446,9 @@
 
   @patch
   static Future<List<NetworkInterface>> list(
-      {bool includeLoopback: false,
-      bool includeLinkLocal: false,
-      InternetAddressType type: InternetAddressType.any}) {
+      {bool includeLoopback = false,
+      bool includeLinkLocal = false,
+      InternetAddressType type = InternetAddressType.any}) {
     throw new UnsupportedError("NetworkInterface.list");
   }
 }
@@ -457,7 +457,7 @@
 class RawServerSocket {
   @patch
   static Future<RawServerSocket> bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     throw new UnsupportedError("RawServerSocket.bind");
   }
 }
@@ -466,7 +466,7 @@
 class ServerSocket {
   @patch
   static Future<ServerSocket> _bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     throw new UnsupportedError("ServerSocket.bind");
   }
 }
@@ -570,7 +570,7 @@
 @patch
 class SecurityContext {
   @patch
-  factory SecurityContext({bool withTrustedRoots: false}) {
+  factory SecurityContext({bool withTrustedRoots = false}) {
     throw new UnsupportedError("SecurityContext constructor");
   }
 
@@ -597,7 +597,7 @@
 class RawDatagramSocket {
   @patch
   static Future<RawDatagramSocket> bind(dynamic host, int port,
-      {bool reuseAddress: true, bool reusePort: false, int ttl: 1}) {
+      {bool reuseAddress = true, bool reusePort = false, int ttl = 1}) {
     throw new UnsupportedError("RawDatagramSocket.bind");
   }
 }
diff --git a/sdk/lib/_internal/js_runtime/lib/js_array.dart b/sdk/lib/_internal/js_runtime/lib/js_array.dart
index 1f4ed72..4d51ee8 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_array.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_array.dart
@@ -654,7 +654,7 @@
 
   String toString() => ListBase.listToString(this);
 
-  List<E> toList({bool growable: true}) =>
+  List<E> toList({bool growable = true}) =>
       growable ? _toListGrowable() : _toListFixed();
 
   List<E> _toListGrowable() =>
diff --git a/sdk/lib/_internal/js_runtime/lib/js_patch.dart b/sdk/lib/_internal/js_runtime/lib/js_patch.dart
index 98345e3..2568376 100644
--- a/sdk/lib/_internal/js_runtime/lib/js_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/js_patch.dart
@@ -17,7 +17,7 @@
 
 final JsObject _context = _castToJsObject(_wrapToDart(JS('', 'self')));
 
-_convertDartFunction(Function f, {bool captureThis: false}) {
+_convertDartFunction(Function f, {bool captureThis = false}) {
   return JS(
       'JavaScriptFunction',
       '''
diff --git a/sdk/lib/_internal/js_runtime/lib/regexp_helper.dart b/sdk/lib/_internal/js_runtime/lib/regexp_helper.dart
index 6ffc76e..698d750 100644
--- a/sdk/lib/_internal/js_runtime/lib/regexp_helper.dart
+++ b/sdk/lib/_internal/js_runtime/lib/regexp_helper.dart
@@ -46,10 +46,10 @@
       'RegExp/$pattern/' + JS('String', '#.flags', _nativeRegExp);
 
   JSSyntaxRegExp(String source,
-      {bool multiLine: false,
-      bool caseSensitive: true,
-      bool unicode: false,
-      bool dotAll: false})
+      {bool multiLine = false,
+      bool caseSensitive = true,
+      bool unicode = false,
+      bool dotAll = false})
       : this.pattern = source,
         this._nativeRegExp = makeNative(
             source, multiLine, caseSensitive, unicode, dotAll, false);
diff --git a/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart b/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
index 5cbab01..d6a189b 100644
--- a/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
+++ b/sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart
@@ -252,13 +252,13 @@
   final Maturity maturity;
 
   const LibraryInfo(this.path,
-      {String categories: "",
+      {String categories = "",
       this.dart2jsPath,
       this.dart2jsPatchPath,
-      this.implementation: false,
-      this.documented: true,
-      this.maturity: Maturity.UNSPECIFIED,
-      this.platforms: DART2JS_PLATFORM | VM_PLATFORM})
+      this.implementation = false,
+      this.documented = true,
+      this.maturity = Maturity.UNSPECIFIED,
+      this.platforms = DART2JS_PLATFORM | VM_PLATFORM})
       : _categories = categories;
 
   bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
diff --git a/sdk/lib/_internal/vm/bin/filter_patch.dart b/sdk/lib/_internal/vm/bin/filter_patch.dart
index c8cf871..d1522ce 100644
--- a/sdk/lib/_internal/vm/bin/filter_patch.dart
+++ b/sdk/lib/_internal/vm/bin/filter_patch.dart
@@ -9,7 +9,7 @@
   external void process(List<int> data, int start, int end);
 
   @pragma("vm:external-name", "Filter_Processed")
-  external List<int>? processed({bool flush: true, bool end: false});
+  external List<int>? processed({bool flush = true, bool end = false});
 }
 
 class _ZLibInflateFilter extends _FilterImpl {
diff --git a/sdk/lib/_internal/vm/bin/process_patch.dart b/sdk/lib/_internal/vm/bin/process_patch.dart
index 426f9d9..5033077 100644
--- a/sdk/lib/_internal/vm/bin/process_patch.dart
+++ b/sdk/lib/_internal/vm/bin/process_patch.dart
@@ -24,9 +24,9 @@
   static Future<Process> start(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      ProcessStartMode mode: ProcessStartMode.normal}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      ProcessStartMode mode = ProcessStartMode.normal}) {
     _ProcessImpl process = new _ProcessImpl(
         executable,
         arguments,
@@ -42,10 +42,10 @@
   static Future<ProcessResult> run(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     return _runNonInteractiveProcess(
         executable,
         arguments,
@@ -61,10 +61,10 @@
   static ProcessResult runSync(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     return _runNonInteractiveProcessSync(
         executable,
         arguments,
diff --git a/sdk/lib/_internal/vm/bin/secure_socket_patch.dart b/sdk/lib/_internal/vm/bin/secure_socket_patch.dart
index bfdc6bd..c984df2 100644
--- a/sdk/lib/_internal/vm/bin/secure_socket_patch.dart
+++ b/sdk/lib/_internal/vm/bin/secure_socket_patch.dart
@@ -31,9 +31,9 @@
   _SecureSocket(RawSecureSocket raw) : super(raw);
 
   void renegotiate(
-      {bool useSessionCache: true,
-      bool requestClientCertificate: false,
-      bool requireClientCertificate: false}) {}
+      {bool useSessionCache = true,
+      bool requestClientCertificate = false,
+      bool requireClientCertificate = false}) {}
 
   X509Certificate? get peerCertificate {
     if (_raw == null) {
@@ -194,7 +194,7 @@
 @patch
 class SecurityContext {
   @patch
-  factory SecurityContext({bool withTrustedRoots: false}) {
+  factory SecurityContext({bool withTrustedRoots = false}) {
     return new _SecurityContext(withTrustedRoots);
   }
 
diff --git a/sdk/lib/_internal/vm/bin/socket_patch.dart b/sdk/lib/_internal/vm/bin/socket_patch.dart
index 52ba285..eaf072a 100644
--- a/sdk/lib/_internal/vm/bin/socket_patch.dart
+++ b/sdk/lib/_internal/vm/bin/socket_patch.dart
@@ -8,7 +8,7 @@
 class RawServerSocket {
   @patch
   static Future<RawServerSocket> bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     return _RawServerSocket.bind(address, port, backlog, v6Only, shared);
   }
 }
@@ -80,7 +80,7 @@
 
   @patch
   static Future<List<InternetAddress>> lookup(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     return _NativeSocket.lookup(host, type: type);
   }
 
@@ -105,9 +105,9 @@
 
   @patch
   static Future<List<NetworkInterface>> list(
-      {bool includeLoopback: false,
-      bool includeLinkLocal: false,
-      InternetAddressType type: InternetAddressType.any}) {
+      {bool includeLoopback = false,
+      bool includeLinkLocal = false,
+      InternetAddressType type = InternetAddressType.any}) {
     return _NativeSocket.listInterfaces(
         includeLoopback: includeLoopback,
         includeLinkLocal: includeLinkLocal,
@@ -499,7 +499,7 @@
   Object? owner;
 
   static Future<List<InternetAddress>> lookup(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     return _IOService._dispatch(_IOService.socketLookup, [host, type._value])
         .then((response) {
       if (isErrorResponse(response)) {
@@ -514,7 +514,7 @@
   }
 
   static Stream<List<InternetAddress>> lookupAsStream(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     final controller = StreamController<List<InternetAddress>>();
     controller.onListen = () {
       lookup(host, type: type).then((list) {
@@ -536,9 +536,9 @@
   }
 
   static Future<List<NetworkInterface>> listInterfaces(
-      {bool includeLoopback: false,
-      bool includeLinkLocal: false,
-      InternetAddressType type: InternetAddressType.any}) {
+      {bool includeLoopback = false,
+      bool includeLinkLocal = false,
+      InternetAddressType type = InternetAddressType.any}) {
     return _IOService._dispatch(_IOService.socketListInterfaces, [type._value])
         .then((response) {
       if (isErrorResponse(response)) {
@@ -749,8 +749,7 @@
                 "Address family not supported by protocol family, "
                 // ...and then add some details.
                 "sourceAddress.type must be ${InternetAddressType.unix} but was "
-                "${source.type}",
-                address: address);
+                "${source.type}", address: address);
           }
           connectionResult = socket.nativeCreateUnixDomainBindConnect(
               address.address, source.address, _Namespace._namespace);
@@ -1334,7 +1333,7 @@
     }
   }
 
-  void issueWriteEvent({bool delayed: true}) {
+  void issueWriteEvent({bool delayed = true}) {
     if (writeEventIssued) return;
     if (!writeAvailable) return;
     void issue() {
@@ -1448,7 +1447,7 @@
     eventHandlers[destroyedEvent] = destroyed;
   }
 
-  void setListening({bool read: true, bool write: true}) {
+  void setListening({bool read = true, bool write = true}) {
     sendReadEvents = read;
     sendWriteEvents = write;
     if (read) issueReadEvent();
@@ -1993,7 +1992,7 @@
 class ServerSocket {
   @patch
   static Future<ServerSocket> _bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     return _ServerSocket.bind(address, port, backlog, v6Only, shared);
   }
 }
@@ -2389,7 +2388,7 @@
 class RawDatagramSocket {
   @patch
   static Future<RawDatagramSocket> bind(host, int port,
-      {bool reuseAddress: true, bool reusePort: false, int ttl: 1}) {
+      {bool reuseAddress = true, bool reusePort = false, int ttl = 1}) {
     return _RawDatagramSocket.bind(host, port, reuseAddress, reusePort, ttl);
   }
 }
diff --git a/sdk/lib/_internal/vm/bin/sync_socket_patch.dart b/sdk/lib/_internal/vm/bin/sync_socket_patch.dart
index 2cfd340..6bbfd34 100644
--- a/sdk/lib/_internal/vm/bin/sync_socket_patch.dart
+++ b/sdk/lib/_internal/vm/bin/sync_socket_patch.dart
@@ -177,7 +177,7 @@
   }
 
   static List<_InternetAddress> lookup(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     var response = _nativeLookupRequest(host, type._value);
     if (response is OSError) {
       throw response;
diff --git a/sdk/lib/_internal/vm/lib/array.dart b/sdk/lib/_internal/vm/lib/array.dart
index 6829fb7..4651dd4 100644
--- a/sdk/lib/_internal/vm/lib/array.dart
+++ b/sdk/lib/_internal/vm/lib/array.dart
@@ -62,7 +62,7 @@
     throw IterableElementError.tooMany();
   }
 
-  List<E> toList({bool growable: true}) {
+  List<E> toList({bool growable = true}) {
     var length = this.length;
     if (length > 0) {
       _List result = _slice(0, length, !growable);
diff --git a/sdk/lib/_internal/vm/lib/array_patch.dart b/sdk/lib/_internal/vm/lib/array_patch.dart
index 6aea645..6c7763c 100644
--- a/sdk/lib/_internal/vm/lib/array_patch.dart
+++ b/sdk/lib/_internal/vm/lib/array_patch.dart
@@ -17,7 +17,7 @@
   external factory List([int? length]);
 
   @patch
-  factory List.filled(int length, E fill, {bool growable: false}) {
+  factory List.filled(int length, E fill, {bool growable = false}) {
     // All error handling on the length parameter is done at the implementation
     // of new _List.
     var result = growable ? new _GrowableList<E>(length) : new _List<E>(length);
@@ -30,7 +30,7 @@
   }
 
   @patch
-  factory List.from(Iterable elements, {bool growable: true}) {
+  factory List.from(Iterable elements, {bool growable = true}) {
     // If elements is an Iterable<E>, we won't need a type-test for each
     // element.
     if (elements is Iterable<E>) {
@@ -46,7 +46,7 @@
   }
 
   @patch
-  factory List.of(Iterable<E> elements, {bool growable: true}) {
+  factory List.of(Iterable<E> elements, {bool growable = true}) {
     if (growable) {
       return _GrowableList.of(elements);
     } else {
diff --git a/sdk/lib/_internal/vm/lib/bool_patch.dart b/sdk/lib/_internal/vm/lib/bool_patch.dart
index 1bbaacd..74ede1c 100644
--- a/sdk/lib/_internal/vm/lib/bool_patch.dart
+++ b/sdk/lib/_internal/vm/lib/bool_patch.dart
@@ -10,7 +10,7 @@
   @patch
   @pragma("vm:external-name", "Bool_fromEnvironment")
   external const factory bool.fromEnvironment(String name,
-      {bool defaultValue: false});
+      {bool defaultValue = false});
 
   @patch
   @pragma("vm:external-name", "Bool_hasEnvironment")
diff --git a/sdk/lib/_internal/vm/lib/date_patch.dart b/sdk/lib/_internal/vm/lib/date_patch.dart
index 1fc5550..9bf6d14 100644
--- a/sdk/lib/_internal/vm/lib/date_patch.dart
+++ b/sdk/lib/_internal/vm/lib/date_patch.dart
@@ -33,7 +33,7 @@
 
   @patch
   DateTime.fromMillisecondsSinceEpoch(int millisecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       : this._withValue(
             _validateMilliseconds(millisecondsSinceEpoch) *
                 Duration.microsecondsPerMillisecond,
@@ -41,7 +41,7 @@
 
   @patch
   DateTime.fromMicrosecondsSinceEpoch(int microsecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       : this._withValue(microsecondsSinceEpoch, isUtc: isUtc);
 
   @patch
diff --git a/sdk/lib/_internal/vm/lib/developer.dart b/sdk/lib/_internal/vm/lib/developer.dart
index 3a78b32..5d459b0 100644
--- a/sdk/lib/_internal/vm/lib/developer.dart
+++ b/sdk/lib/_internal/vm/lib/developer.dart
@@ -19,7 +19,7 @@
 
 @patch
 @pragma("vm:external-name", "Developer_debugger")
-external bool debugger({bool when: true, String? message});
+external bool debugger({bool when = true, String? message});
 
 @patch
 @pragma("vm:external-name", "Developer_inspect")
@@ -29,8 +29,8 @@
 void log(String message,
     {DateTime? time,
     int? sequenceNumber,
-    int level: 0,
-    String name: '',
+    int level = 0,
+    String name = '',
     Zone? zone,
     Object? error,
     StackTrace? stackTrace}) {
diff --git a/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart b/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart
index 824dcf9..3844fc0 100644
--- a/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart
+++ b/sdk/lib/_internal/vm/lib/ffi_dynamic_library_patch.dart
@@ -59,6 +59,6 @@
 extension DynamicLibraryExtension on DynamicLibrary {
   @patch
   DS lookupFunction<NS extends Function, DS extends Function>(String symbolName,
-          {bool isLeaf: false}) =>
+          {bool isLeaf = false}) =>
       throw UnsupportedError("The body is inlined in the frontend.");
 }
diff --git a/sdk/lib/_internal/vm/lib/ffi_patch.dart b/sdk/lib/_internal/vm/lib/ffi_patch.dart
index 9035da0..2a786c4 100644
--- a/sdk/lib/_internal/vm/lib/ffi_patch.dart
+++ b/sdk/lib/_internal/vm/lib/ffi_patch.dart
@@ -498,7 +498,7 @@
 extension NativeFunctionPointer<NF extends Function>
     on Pointer<NativeFunction<NF>> {
   @patch
-  DF asFunction<DF extends Function>({bool isLeaf: false}) =>
+  DF asFunction<DF extends Function>({bool isLeaf = false}) =>
       throw UnsupportedError("The body is inlined in the frontend.");
 }
 
diff --git a/sdk/lib/_internal/vm/lib/growable_array.dart b/sdk/lib/_internal/vm/lib/growable_array.dart
index 4644c30..e4e1d48 100644
--- a/sdk/lib/_internal/vm/lib/growable_array.dart
+++ b/sdk/lib/_internal/vm/lib/growable_array.dart
@@ -506,7 +506,7 @@
     return new ListIterator<T>(this);
   }
 
-  List<T> toList({bool growable: true}) {
+  List<T> toList({bool growable = true}) {
     // TODO(sra): We should be able to replace the following with:
     //
     //     return growable
diff --git a/sdk/lib/_internal/vm/lib/isolate_patch.dart b/sdk/lib/_internal/vm/lib/isolate_patch.dart
index 6cd14fc..cb9c960 100644
--- a/sdk/lib/_internal/vm/lib/isolate_patch.dart
+++ b/sdk/lib/_internal/vm/lib/isolate_patch.dart
@@ -590,7 +590,7 @@
   }
 
   @patch
-  void kill({int priority: beforeNextEvent}) {
+  void kill({int priority = beforeNextEvent}) {
     var msg = new List<Object?>.filled(4, null)
       ..[0] = 0 // Make room for OOB message type.
       ..[1] = _KILL
@@ -601,7 +601,7 @@
 
   @patch
   void ping(SendPort responsePort,
-      {Object? response, int priority: immediate}) {
+      {Object? response, int priority = immediate}) {
     var msg = new List<Object?>.filled(5, null)
       ..[0] = 0 // Make room for OOM message type.
       ..[1] = _PING
diff --git a/sdk/lib/_internal/vm/lib/regexp_patch.dart b/sdk/lib/_internal/vm/lib/regexp_patch.dart
index 4936407..c195246 100644
--- a/sdk/lib/_internal/vm/lib/regexp_patch.dart
+++ b/sdk/lib/_internal/vm/lib/regexp_patch.dart
@@ -8,10 +8,10 @@
 class RegExp {
   @patch
   factory RegExp(String source,
-      {bool multiLine: false,
-      bool caseSensitive: true,
-      bool unicode: false,
-      bool dotAll: false}) {
+      {bool multiLine = false,
+      bool caseSensitive = true,
+      bool unicode = false,
+      bool dotAll = false}) {
     _RegExpHashKey key =
         new _RegExpHashKey(source, multiLine, caseSensitive, unicode, dotAll);
     _RegExpHashValue? value = _cache[key];
@@ -212,10 +212,10 @@
 class _RegExp implements RegExp {
   @pragma("vm:external-name", "RegExp_factory")
   external factory _RegExp(String pattern,
-      {bool multiLine: false,
-      bool caseSensitive: true,
-      bool unicode: false,
-      bool dotAll: false});
+      {bool multiLine = false,
+      bool caseSensitive = true,
+      bool unicode = false,
+      bool dotAll = false});
 
   RegExpMatch? firstMatch(String input) {
     // TODO: Remove these null checks once all code is opted into strong nonnullable mode.
diff --git a/sdk/lib/_internal/vm/lib/typed_data_patch.dart b/sdk/lib/_internal/vm/lib/typed_data_patch.dart
index 903a7c9..9e2f381 100644
--- a/sdk/lib/_internal/vm/lib/typed_data_patch.dart
+++ b/sdk/lib/_internal/vm/lib/typed_data_patch.dart
@@ -200,7 +200,7 @@
 
   Iterator<int> get iterator => new _TypedListIterator<int>(this);
 
-  List<int> toList({bool growable: true}) {
+  List<int> toList({bool growable = true}) {
     return new List<int>.from(this, growable: growable);
   }
 
@@ -551,7 +551,7 @@
 
   Iterator<double> get iterator => new _TypedListIterator<double>(this);
 
-  List<double> toList({bool growable: true}) {
+  List<double> toList({bool growable = true}) {
     return new List<double>.from(this, growable: growable);
   }
 
@@ -974,7 +974,7 @@
 
   Iterator<Float32x4> get iterator => new _TypedListIterator<Float32x4>(this);
 
-  List<Float32x4> toList({bool growable: true}) {
+  List<Float32x4> toList({bool growable = true}) {
     return new List<Float32x4>.from(this, growable: growable);
   }
 
@@ -1327,7 +1327,7 @@
 
   Iterator<Int32x4> get iterator => new _TypedListIterator<Int32x4>(this);
 
-  List<Int32x4> toList({bool growable: true}) {
+  List<Int32x4> toList({bool growable = true}) {
     return new List<Int32x4>.from(this, growable: growable);
   }
 
@@ -1681,7 +1681,7 @@
 
   Iterator<Float64x2> get iterator => new _TypedListIterator<Float64x2>(this);
 
-  List<Float64x2> toList({bool growable: true}) {
+  List<Float64x2> toList({bool growable = true}) {
     return new List<Float64x2>.from(this, growable: growable);
   }
 
diff --git a/sdk/lib/_internal/wasm/lib/date_patch.dart b/sdk/lib/_internal/wasm/lib/date_patch.dart
index 72f91011..950a889 100644
--- a/sdk/lib/_internal/wasm/lib/date_patch.dart
+++ b/sdk/lib/_internal/wasm/lib/date_patch.dart
@@ -45,7 +45,7 @@
 
   @patch
   DateTime.fromMillisecondsSinceEpoch(int millisecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       : this._withValue(
             _validateMilliseconds(millisecondsSinceEpoch) *
                 Duration.microsecondsPerMillisecond,
@@ -53,7 +53,7 @@
 
   @patch
   DateTime.fromMicrosecondsSinceEpoch(int microsecondsSinceEpoch,
-      {bool isUtc: false})
+      {bool isUtc = false})
       : this._withValue(microsecondsSinceEpoch, isUtc: isUtc);
 
   @patch
diff --git a/sdk/lib/_internal/wasm/lib/developer.dart b/sdk/lib/_internal/wasm/lib/developer.dart
index 32eb53d..e93f2b4 100644
--- a/sdk/lib/_internal/wasm/lib/developer.dart
+++ b/sdk/lib/_internal/wasm/lib/developer.dart
@@ -11,7 +11,7 @@
 // Stubs for `developer.dart`.
 
 @patch
-bool debugger({bool when: true, String? message}) => when;
+bool debugger({bool when = true, String? message}) => when;
 
 @patch
 Object? inspect(Object? object) => object;
@@ -20,8 +20,8 @@
 void log(String message,
     {DateTime? time,
     int? sequenceNumber,
-    int level: 0,
-    String name: '',
+    int level = 0,
+    String name = '',
     Zone? zone,
     Object? error,
     StackTrace? stackTrace}) {}
diff --git a/sdk/lib/_internal/wasm/lib/io_patch.dart b/sdk/lib/_internal/wasm/lib/io_patch.dart
index 028ba6b..27b9e5c 100644
--- a/sdk/lib/_internal/wasm/lib/io_patch.dart
+++ b/sdk/lib/_internal/wasm/lib/io_patch.dart
@@ -351,9 +351,9 @@
   static Future<Process> start(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      ProcessStartMode mode: ProcessStartMode.normal}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      ProcessStartMode mode = ProcessStartMode.normal}) {
     throw new UnsupportedError("Process.start");
   }
 
@@ -361,10 +361,10 @@
   static Future<ProcessResult> run(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     throw new UnsupportedError("Process.run");
   }
 
@@ -372,10 +372,10 @@
   static ProcessResult runSync(String executable, List<String> arguments,
       {String? workingDirectory,
       Map<String, String>? environment,
-      bool includeParentEnvironment: true,
-      bool runInShell: false,
-      Encoding? stdoutEncoding: systemEncoding,
-      Encoding? stderrEncoding: systemEncoding}) {
+      bool includeParentEnvironment = true,
+      bool runInShell = false,
+      Encoding? stdoutEncoding = systemEncoding,
+      Encoding? stderrEncoding = systemEncoding}) {
     throw new UnsupportedError("Process.runSync");
   }
 
@@ -420,7 +420,7 @@
 
   @patch
   static Future<List<InternetAddress>> lookup(String host,
-      {InternetAddressType type: InternetAddressType.any}) {
+      {InternetAddressType type = InternetAddressType.any}) {
     throw new UnsupportedError("InternetAddress.lookup");
   }
 
@@ -445,9 +445,9 @@
 
   @patch
   static Future<List<NetworkInterface>> list(
-      {bool includeLoopback: false,
-      bool includeLinkLocal: false,
-      InternetAddressType type: InternetAddressType.any}) {
+      {bool includeLoopback = false,
+      bool includeLinkLocal = false,
+      InternetAddressType type = InternetAddressType.any}) {
     throw new UnsupportedError("NetworkInterface.list");
   }
 }
@@ -456,7 +456,7 @@
 class RawServerSocket {
   @patch
   static Future<RawServerSocket> bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     throw new UnsupportedError("RawServerSocket.bind");
   }
 }
@@ -465,7 +465,7 @@
 class ServerSocket {
   @patch
   static Future<ServerSocket> _bind(address, int port,
-      {int backlog: 0, bool v6Only: false, bool shared: false}) {
+      {int backlog = 0, bool v6Only = false, bool shared = false}) {
     throw new UnsupportedError("ServerSocket.bind");
   }
 }
@@ -569,7 +569,7 @@
 @patch
 class SecurityContext {
   @patch
-  factory SecurityContext({bool withTrustedRoots: false}) {
+  factory SecurityContext({bool withTrustedRoots = false}) {
     throw new UnsupportedError("SecurityContext constructor");
   }
 
@@ -596,7 +596,7 @@
 class RawDatagramSocket {
   @patch
   static Future<RawDatagramSocket> bind(dynamic host, int port,
-      {bool reuseAddress: true, bool reusePort: false, int ttl: 1}) {
+      {bool reuseAddress = true, bool reusePort = false, int ttl = 1}) {
     throw new UnsupportedError("RawDatagramSocket.bind");
   }
 }
diff --git a/sdk/lib/_internal/wasm/lib/list.dart b/sdk/lib/_internal/wasm/lib/list.dart
index 13eeff3..a9cf077 100644
--- a/sdk/lib/_internal/wasm/lib/list.dart
+++ b/sdk/lib/_internal/wasm/lib/list.dart
@@ -38,7 +38,7 @@
     }
   }
 
-  List<E> toList({bool growable: true}) {
+  List<E> toList({bool growable = true}) {
     return List.from(this, growable: growable);
   }
 }
diff --git a/sdk/lib/_internal/wasm/lib/regexp_helper.dart b/sdk/lib/_internal/wasm/lib/regexp_helper.dart
index e2de33d..569b792 100644
--- a/sdk/lib/_internal/wasm/lib/regexp_helper.dart
+++ b/sdk/lib/_internal/wasm/lib/regexp_helper.dart
@@ -59,10 +59,10 @@
   String toString() => 'RegExp/$pattern/' + _nativeRegExp.flags;
 
   JSSyntaxRegExp(String source,
-      {bool multiLine: false,
-      bool caseSensitive: true,
-      bool unicode: false,
-      bool dotAll: false})
+      {bool multiLine = false,
+      bool caseSensitive = true,
+      bool unicode = false,
+      bool dotAll = false})
       : this.pattern = source,
         this._nativeRegExp = makeNative(
             source, multiLine, caseSensitive, unicode, dotAll, false);
diff --git a/sdk/lib/ffi/dynamic_library.dart b/sdk/lib/ffi/dynamic_library.dart
index 5106021..f651473 100644
--- a/sdk/lib/ffi/dynamic_library.dart
+++ b/sdk/lib/ffi/dynamic_library.dart
@@ -85,5 +85,5 @@
   /// ```
   external F lookupFunction<T extends Function, F extends Function>(
       String symbolName,
-      {bool isLeaf: false});
+      {bool isLeaf = false});
 }
diff --git a/sdk/lib/ffi/ffi.dart b/sdk/lib/ffi/ffi.dart
index 8311238..2668e71 100644
--- a/sdk/lib/ffi/ffi.dart
+++ b/sdk/lib/ffi/ffi.dart
@@ -156,7 +156,7 @@
   /// Convert to Dart function, automatically marshalling the arguments
   /// and return value.
   external DF asFunction<@DartRepresentationOf('NF') DF extends Function>(
-      {bool isLeaf: false});
+      {bool isLeaf = false});
 }
 
 //
@@ -877,7 +877,7 @@
 class FfiNative<T> {
   final String nativeName;
   final bool isLeaf;
-  const FfiNative(this.nativeName, {this.isLeaf: false});
+  const FfiNative(this.nativeName, {this.isLeaf = false});
 }
 
 // Bootstrapping native for getting the FFI native C function pointer to look
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 3517dc2..512f152 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -2186,12 +2186,12 @@
   @SupportedBrowser(SupportedBrowser.CHROME)
   @SupportedBrowser(SupportedBrowser.FIREFOX)
   gl.RenderingContext? getContext3d(
-      {alpha: true,
-      depth: true,
-      stencil: false,
-      antialias: true,
-      premultipliedAlpha: true,
-      preserveDrawingBuffer: false}) {
+      {alpha = true,
+      depth = true,
+      stencil = false,
+      antialias = true,
+      premultipliedAlpha = true,
+      preserveDrawingBuffer = false}) {
     var options = {
       'alpha': alpha,
       'depth': depth,
@@ -3155,8 +3155,8 @@
 @Native("CompositionEvent")
 class CompositionEvent extends UIEvent {
   factory CompositionEvent(String type,
-      {bool canBubble: false,
-      bool cancelable: false,
+      {bool canBubble = false,
+      bool cancelable = false,
       Window? view,
       String? data,
       String? locale}) {
@@ -8991,7 +8991,7 @@
   var _dartDetail;
 
   factory CustomEvent(String type,
-      {bool canBubble: true, bool cancelable: true, Object? detail}) {
+      {bool canBubble = true, bool cancelable = true, Object? detail}) {
     final CustomEvent e = document._createEvent('CustomEvent') as CustomEvent;
 
     e._dartDetail = detail;
@@ -9612,7 +9612,7 @@
    * the returned Future will complete with an error if a directory already
    * exists with the specified `path`.
    */
-  Future<Entry> createDirectory(String path, {bool exclusive: false}) {
+  Future<Entry> createDirectory(String path, {bool exclusive = false}) {
     return _getDirectory(path,
         options: {'create': true, 'exclusive': exclusive});
   }
@@ -9640,7 +9640,7 @@
    * the returned Future will complete with an error if a file already
    * exists at the specified `path`.
    */
-  Future<Entry> createFile(String path, {bool exclusive: false}) {
+  Future<Entry> createFile(String path, {bool exclusive = false}) {
     return _getFile(path, options: {'create': true, 'exclusive': exclusive});
   }
 
@@ -15567,7 +15567,7 @@
   //
   // Contrary to JS, we default canBubble and cancelable to true, since that's
   // what people want most of the time anyway.
-  factory Event(String type, {bool canBubble: true, bool cancelable: true}) {
+  factory Event(String type, {bool canBubble = true, bool cancelable = true}) {
     return new Event.eventType('Event', type,
         canBubble: canBubble, cancelable: cancelable);
   }
@@ -15581,7 +15581,7 @@
    *     var e = new Event.type('MouseEvent', 'mousedown', true, true);
    */
   factory Event.eventType(String type, String name,
-      {bool canBubble: true, bool cancelable: true}) {
+      {bool canBubble = true, bool cancelable = true}) {
     final Event e = document._createEvent(type);
     e._initEvent(name, canBubble, cancelable);
     return e;
@@ -15702,7 +15702,7 @@
 
 @Native("EventSource")
 class EventSource extends EventTarget {
-  factory EventSource(String url, {withCredentials: false}) {
+  factory EventSource(String url, {withCredentials = false}) {
     var parsedOptions = {
       'withCredentials': withCredentials,
     };
@@ -17509,8 +17509,8 @@
 @Native("HashChangeEvent")
 class HashChangeEvent extends Event {
   factory HashChangeEvent(String type,
-      {bool canBubble: true,
-      bool cancelable: true,
+      {bool canBubble = true,
+      bool cancelable = true,
       String? oldUrl,
       String? newUrl}) {
     var options = {
@@ -20100,14 +20100,14 @@
    */
   factory KeyboardEvent(String type,
       {Window? view,
-      bool canBubble: true,
-      bool cancelable: true,
+      bool canBubble = true,
+      bool cancelable = true,
       int? location,
       int? keyLocation, // Legacy alias for location
-      bool ctrlKey: false,
-      bool altKey: false,
-      bool shiftKey: false,
-      bool metaKey: false}) {
+      bool ctrlKey = false,
+      bool altKey = false,
+      bool shiftKey = false,
+      bool metaKey = false}) {
     if (view == null) {
       view = window;
     }
@@ -21638,13 +21638,13 @@
 @Native("MessageEvent")
 class MessageEvent extends Event {
   factory MessageEvent(String type,
-      {bool canBubble: false,
-      bool cancelable: false,
+      {bool canBubble = false,
+      bool cancelable = false,
       Object? data,
       String? origin,
       String? lastEventId,
       Window? source,
-      List<MessagePort> messagePorts: const []}) {
+      List<MessagePort> messagePorts = const []}) {
     if (source == null) {
       source = window;
     }
@@ -22296,18 +22296,18 @@
 class MouseEvent extends UIEvent {
   factory MouseEvent(String type,
       {Window? view,
-      int detail: 0,
-      int screenX: 0,
-      int screenY: 0,
-      int clientX: 0,
-      int clientY: 0,
-      int button: 0,
-      bool canBubble: true,
-      bool cancelable: true,
-      bool ctrlKey: false,
-      bool altKey: false,
-      bool shiftKey: false,
-      bool metaKey: false,
+      int detail = 0,
+      int screenX = 0,
+      int screenY = 0,
+      int clientX = 0,
+      int clientY = 0,
+      int button = 0,
+      bool canBubble = true,
+      bool cancelable = true,
+      bool ctrlKey = false,
+      bool altKey = false,
+      bool shiftKey = false,
+      bool metaKey = false,
       EventTarget? relatedTarget}) {
     if (view == null) {
       view = window;
@@ -22778,7 +22778,7 @@
    * * [MediaStream.supported]
    */
   @SupportedBrowser(SupportedBrowser.CHROME)
-  Future<MediaStream> getUserMedia({audio: false, video: false}) {
+  Future<MediaStream> getUserMedia({audio = false, video = false}) {
     var completer = new Completer<MediaStream>();
     var options = {'audio': audio, 'video': video};
     _ensureGetUserMedia();
@@ -24450,7 +24450,7 @@
 @Native("HTMLOptionElement")
 class OptionElement extends HtmlElement {
   factory OptionElement(
-      {String data: '', String value: '', bool selected: false}) {
+      {String data = '', String value = '', bool selected = false}) {
     return new OptionElement._(data, value, null, selected);
   }
 
@@ -29277,8 +29277,8 @@
 @Native("StorageEvent")
 class StorageEvent extends Event {
   factory StorageEvent(String type,
-      {bool canBubble: false,
-      bool cancelable: false,
+      {bool canBubble = false,
+      bool cancelable = false,
       String? key,
       String? oldValue,
       String? newValue,
@@ -30073,8 +30073,8 @@
 @Native("TextEvent")
 class TextEvent extends UIEvent {
   factory TextEvent(String type,
-      {bool canBubble: false,
-      bool cancelable: false,
+      {bool canBubble = false,
+      bool cancelable = false,
       Window? view,
       String? data}) {
     if (view == null) {
@@ -30912,9 +30912,9 @@
   // what people want most of the time anyway.
   factory UIEvent(String type,
       {Window? view,
-      int detail: 0,
-      bool canBubble: true,
-      bool cancelable: true}) {
+      int detail = 0,
+      bool canBubble = true,
+      bool cancelable = true}) {
     if (view == null) {
       view = window;
     }
@@ -32013,22 +32013,22 @@
 class WheelEvent extends MouseEvent {
   factory WheelEvent(String type,
       {Window? view,
-      num deltaX: 0,
-      num deltaY: 0,
-      num deltaZ: 0,
-      int deltaMode: 0,
-      int detail: 0,
-      int screenX: 0,
-      int screenY: 0,
-      int clientX: 0,
-      int clientY: 0,
-      int button: 0,
-      bool canBubble: true,
-      bool cancelable: true,
-      bool ctrlKey: false,
-      bool altKey: false,
-      bool shiftKey: false,
-      bool metaKey: false,
+      num deltaX = 0,
+      num deltaY = 0,
+      num deltaZ = 0,
+      int deltaMode = 0,
+      int detail = 0,
+      int screenX = 0,
+      int screenY = 0,
+      int clientX = 0,
+      int clientY = 0,
+      int button = 0,
+      bool canBubble = true,
+      bool cancelable = true,
+      bool ctrlKey = false,
+      bool altKey = false,
+      bool shiftKey = false,
+      bool metaKey = false,
       EventTarget? relatedTarget}) {
     var options = {
       'view': view,
@@ -32392,7 +32392,7 @@
    * the sandboxed file system for use. Because the file system is sandboxed,
    * applications cannot access file systems created in other web pages.
    */
-  Future<FileSystem> requestFileSystem(int size, {bool persistent: false}) {
+  Future<FileSystem> requestFileSystem(int size, {bool persistent = false}) {
     return _requestFileSystem(persistent ? 1 : 0, size);
   }
 
@@ -34638,7 +34638,6 @@
   }
 
   // From ChildNode
-
 }
 
 // Copyright (c) 2013, the Dart project authors.  Please see the AUTHORS file
@@ -35753,7 +35752,6 @@
   }
 
   // From URLUtilsReadOnly
-
 }
 
 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file
@@ -35771,7 +35769,6 @@
   // From NavigatorID
 
   // From NavigatorOnLine
-
 }
 
 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file
@@ -36058,7 +36055,7 @@
    * and capitalizing the following letter. Optionally [startUppercase] to
    * capitalize the first letter.
    */
-  String _toCamelCase(String hyphenedName, {bool startUppercase: false}) {
+  String _toCamelCase(String hyphenedName, {bool startUppercase = false}) {
     var segments = hyphenedName.split('-');
     int start = startUppercase ? 0 : 1;
     for (int i = start; i < segments.length; i++) {
@@ -37139,7 +37136,7 @@
    * * [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
    *   from MDN.
    */
-  Stream<T> forTarget(EventTarget? e, {bool useCapture: false}) =>
+  Stream<T> forTarget(EventTarget? e, {bool useCapture = false}) =>
       new _EventStream<T>(e, _eventType, useCapture);
 
   /**
@@ -37164,7 +37161,7 @@
    * * [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)
    *   from MDN.
    */
-  ElementStream<T> forElement(Element e, {bool useCapture: false}) {
+  ElementStream<T> forElement(Element e, {bool useCapture = false}) {
     return new _ElementEventStreamImpl<T>(e, _eventType, useCapture);
   }
 
@@ -37184,7 +37181,7 @@
    *   from MDN.
    */
   ElementStream<T> _forElementList(ElementList<Element> e,
-      {bool useCapture: false}) {
+      {bool useCapture = false}) {
     return new _ElementListEventStreamImpl<T>(e, _eventType, useCapture);
   }
 
@@ -37538,16 +37535,16 @@
   final _eventTypeGetter;
   const _CustomEventStreamProvider(this._eventTypeGetter);
 
-  Stream<T> forTarget(EventTarget? e, {bool useCapture: false}) {
+  Stream<T> forTarget(EventTarget? e, {bool useCapture = false}) {
     return new _EventStream<T>(e, _eventTypeGetter(e), useCapture);
   }
 
-  ElementStream<T> forElement(Element e, {bool useCapture: false}) {
+  ElementStream<T> forElement(Element e, {bool useCapture = false}) {
     return new _ElementEventStreamImpl<T>(e, _eventTypeGetter(e), useCapture);
   }
 
   ElementStream<T> _forElementList(ElementList<Element> e,
-      {bool useCapture: false}) {
+      {bool useCapture = false}) {
     return new _ElementListEventStreamImpl<T>(
         e, _eventTypeGetter(e), useCapture);
   }
@@ -39014,7 +39011,7 @@
 
   /** Return a stream for KeyEvents for the specified target. */
   // Note: this actually functions like a factory constructor.
-  CustomStream<KeyEvent> forTarget(EventTarget? e, {bool useCapture: false}) {
+  CustomStream<KeyEvent> forTarget(EventTarget? e, {bool useCapture = false}) {
     var handler =
         new _KeyboardEventHandler.initializeAllEventListeners(_type, e);
     return handler._stream;
@@ -40585,15 +40582,15 @@
   /** Programmatically create a new KeyEvent (and KeyboardEvent). */
   factory KeyEvent(String type,
       {Window? view,
-      bool canBubble: true,
-      bool cancelable: true,
-      int keyCode: 0,
-      int charCode: 0,
-      int location: 1,
-      bool ctrlKey: false,
-      bool altKey: false,
-      bool shiftKey: false,
-      bool metaKey: false,
+      bool canBubble = true,
+      bool cancelable = true,
+      int keyCode = 0,
+      int charCode = 0,
+      int location = 1,
+      bool ctrlKey = false,
+      bool altKey = false,
+      bool shiftKey = false,
+      bool metaKey = false,
       EventTarget? currentTarget}) {
     if (view == null) {
       view = window;
diff --git a/sdk/lib/html/html_common/conversions.dart b/sdk/lib/html/html_common/conversions.dart
index 0b5459f..6a91a31 100644
--- a/sdk/lib/html/html_common/conversions.dart
+++ b/sdk/lib/html/html_common/conversions.dart
@@ -275,7 +275,7 @@
     return e;
   }
 
-  convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) {
+  convertNativeToDart_AcceptStructuredClone(object, {mustCopy = false}) {
     this.mustCopy = mustCopy;
     var copy = walk(object);
     return copy;
diff --git a/sdk/lib/html/html_common/conversions_dart2js.dart b/sdk/lib/html/html_common/conversions_dart2js.dart
index 36cf262..857102c 100644
--- a/sdk/lib/html/html_common/conversions_dart2js.dart
+++ b/sdk/lib/html/html_common/conversions_dart2js.dart
@@ -93,7 +93,7 @@
     new _StructuredCloneDart2Js()
         .convertDartToNative_PrepareForStructuredClone(value);
 
-convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) =>
+convertNativeToDart_AcceptStructuredClone(object, {mustCopy = false}) =>
     new _AcceptStructuredCloneDart2Js()
         .convertNativeToDart_AcceptStructuredClone(object, mustCopy: mustCopy);
 
diff --git a/sdk/lib/html/html_common/css_class_set.dart b/sdk/lib/html/html_common/css_class_set.dart
index ff15a4d..9fc488b 100644
--- a/sdk/lib/html/html_common/css_class_set.dart
+++ b/sdk/lib/html/html_common/css_class_set.dart
@@ -187,7 +187,7 @@
   String get first => readClasses().first;
   String get last => readClasses().last;
   String get single => readClasses().single;
-  List<String> toList({bool growable: true}) =>
+  List<String> toList({bool growable = true}) =>
       readClasses().toList(growable: growable);
   Set<String> toSet() => readClasses().toSet();
   Iterable<String> take(int n) => readClasses().take(n);
diff --git a/sdk/lib/internal/iterable.dart b/sdk/lib/internal/iterable.dart
index d7c8f97..1661ccb 100644
--- a/sdk/lib/internal/iterable.dart
+++ b/sdk/lib/internal/iterable.dart
@@ -210,7 +210,8 @@
 
   Iterable<E> takeWhile(bool test(E element)) => super.takeWhile(test);
 
-  List<E> toList({bool growable: true}) => List<E>.of(this, growable: growable);
+  List<E> toList({bool growable = true}) =>
+      List<E>.of(this, growable: growable);
 
   Set<E> toSet() {
     Set<E> result = Set<E>();
@@ -291,7 +292,7 @@
     }
   }
 
-  List<E> toList({bool growable: true}) {
+  List<E> toList({bool growable = true}) {
     int start = _start;
     int end = _iterable.length;
     int? endOrLength = _endOrLength;
@@ -756,7 +757,7 @@
 
   Iterable<E> takeWhile(bool test(E element)) => this;
 
-  List<E> toList({bool growable: true}) => List<E>.empty(growable: growable);
+  List<E> toList({bool growable = true}) => List<E>.empty(growable: growable);
 
   Set<E> toSet() => Set<E>();
 }