diff --git a/lib/ui/annotations.dart b/lib/ui/annotations.dart index b300af073e3be..e3ebf2379d68d 100644 --- a/lib/ui/annotations.dart +++ b/lib/ui/annotations.dart @@ -4,8 +4,8 @@ // TODO(dnfield): Remove unused_import ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; // TODO(dnfield): Update this if/when we default this to on in the tool, diff --git a/lib/ui/channel_buffers.dart b/lib/ui/channel_buffers.dart index f2a3ddc75d4f7..afffab19e496b 100644 --- a/lib/ui/channel_buffers.dart +++ b/lib/ui/channel_buffers.dart @@ -2,10 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 // KEEP THIS SYNCHRONIZED WITH ../web_ui/lib/src/ui/channel_buffers.dart +// @dart = 2.12 part of dart.ui; /// Signature for [ChannelBuffers.drain]'s `callback` argument. diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart index 324520b9a1154..626e61ef4f6cc 100644 --- a/lib/ui/compositing.dart +++ b/lib/ui/compositing.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// An opaque object representing a composited scene. diff --git a/lib/ui/geometry.dart b/lib/ui/geometry.dart index 6d3b1ac5b5936..527b6db0f646f 100644 --- a/lib/ui/geometry.dart +++ b/lib/ui/geometry.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// Base class for [Size] and [Offset], which are both ways to describe diff --git a/lib/ui/hash_codes.dart b/lib/ui/hash_codes.dart index 7da175a27312f..db133d22c188f 100644 --- a/lib/ui/hash_codes.dart +++ b/lib/ui/hash_codes.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; class _HashEnd { const _HashEnd(); } diff --git a/lib/ui/hooks.dart b/lib/ui/hooks.dart index 386aee3c5e781..6ffcea0f93d72 100644 --- a/lib/ui/hooks.dart +++ b/lib/ui/hooks.dart @@ -4,8 +4,8 @@ // TODO(dnfield): Remove unused_import ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; @pragma('vm:entry-point') diff --git a/lib/ui/isolate_name_server.dart b/lib/ui/isolate_name_server.dart index 4b5c2c84d016c..55c6a481eb3fd 100644 --- a/lib/ui/isolate_name_server.dart +++ b/lib/ui/isolate_name_server.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// Static methods to allow for simple sharing of [SendPort]s across [Isolate]s. diff --git a/lib/ui/lerp.dart b/lib/ui/lerp.dart index 77e4a830b301e..917252ce25359 100644 --- a/lib/ui/lerp.dart +++ b/lib/ui/lerp.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// Linearly interpolate between two numbers, `a` and `b`, by an extrapolation diff --git a/lib/ui/natives.dart b/lib/ui/natives.dart index 13838cb1a512b..72137544fa4e6 100644 --- a/lib/ui/natives.dart +++ b/lib/ui/natives.dart @@ -4,8 +4,8 @@ // TODO(dnfield): remove unused_element ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; // Corelib 'print' implementation. diff --git a/lib/ui/painting.dart b/lib/ui/painting.dart index 7b63b50e01218..a1fd6584a6f44 100644 --- a/lib/ui/painting.dart +++ b/lib/ui/painting.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; // Some methods in this file assert that their arguments are not null. These diff --git a/lib/ui/platform_dispatcher.dart b/lib/ui/platform_dispatcher.dart index 091ef928c8484..3911695eec52c 100644 --- a/lib/ui/platform_dispatcher.dart +++ b/lib/ui/platform_dispatcher.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// Signature of callbacks that have no arguments and return no data. diff --git a/lib/ui/plugins.dart b/lib/ui/plugins.dart index 9622852fd7566..4e9cb7e1442d7 100644 --- a/lib/ui/plugins.dart +++ b/lib/ui/plugins.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// A wrapper for a raw callback handle. diff --git a/lib/ui/pointer.dart b/lib/ui/pointer.dart index 551763f9d03f4..1da22c0b6c3b4 100644 --- a/lib/ui/pointer.dart +++ b/lib/ui/pointer.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// How the pointer has changed since the last report. diff --git a/lib/ui/semantics.dart b/lib/ui/semantics.dart index 5769905628fdf..02bb585d5313a 100644 --- a/lib/ui/semantics.dart +++ b/lib/ui/semantics.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// The possible actions that can be conveyed from the operating system diff --git a/lib/ui/text.dart b/lib/ui/text.dart index d7f9a328fc3f8..b3d3b58347802 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// Whether to slant the glyphs in the font diff --git a/lib/ui/ui.dart b/lib/ui/ui.dart index 4603fb3ce7774..ea966c88cd43a 100644 --- a/lib/ui/ui.dart +++ b/lib/ui/ui.dart @@ -9,7 +9,7 @@ /// This library exposes the lowest-level services that Flutter frameworks use /// to bootstrap applications, such as classes for driving the input, graphics /// text, layout, and rendering subsystems. -// @dart = 2.10 +// @dart = 2.12 library dart.ui; import 'dart:_internal' hide Symbol; // ignore: unused_import diff --git a/lib/ui/window.dart b/lib/ui/window.dart index f4795b057cf59..ac984a2a6581c 100644 --- a/lib/ui/window.dart +++ b/lib/ui/window.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 part of dart.ui; /// A view into which a Flutter [Scene] is drawn. diff --git a/testing/dart/window_hooks_integration_test.dart b/testing/dart/window_hooks_integration_test.dart index ab87370927149..27b2da80d8e9a 100644 --- a/testing/dart/window_hooks_integration_test.dart +++ b/testing/dart/window_hooks_integration_test.dart @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// @dart = 2.10 +// @dart = 2.12 // HACK: pretend to be dart.ui in order to access its internals library dart.ui;