Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ui/annotations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/channel_buffers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/compositing.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/geometry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/hash_codes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/hooks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/isolate_name_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/lerp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/natives.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/painting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/platform_dispatcher.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/plugins.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/pointer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion testing/dart/window_hooks_integration_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down