Skip to content

Commit 0ef67b5

Browse files
authored
opt out dart:ui from nnbd (flutter#16473)
* opt out dart:ui from nnbd * Annotate tests as well
1 parent 5cef6d0 commit 0ef67b5

File tree

256 files changed

+257
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

256 files changed

+257
-0
lines changed

lib/ui/channel_buffers.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
/// A saved platform message for a channel with its callback.

lib/ui/compositing.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
/// An opaque object representing a composited scene.

lib/ui/fixtures/ui_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @dart = 2.6
12
// Copyright 2013 The Flutter Authors. All rights reserved.
23
// Use of this source code is governed by a BSD-style license that can be
34
// found in the LICENSE file.

lib/ui/geometry.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
/// Base class for [Size] and [Offset], which are both ways to describe

lib/ui/hash_codes.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
class _HashEnd { const _HashEnd(); }

lib/ui/hooks.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// TODO(dnfield): Remove unused_import ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved.
66

7+
// @dart = 2.6
78
part of dart.ui;
89

910
// ignore: unused_element

lib/ui/isolate_name_server.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
/// Static methods to allow for simple sharing of [SendPort]s across [Isolate]s.

lib/ui/lerp.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
/// Linearly interpolate between two numbers.

lib/ui/natives.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// TODO(dnfield): remove unused_element ignores when https://github.com/dart-lang/sdk/issues/35164 is resolved.
66

7+
// @dart = 2.6
78
part of dart.ui;
89

910
// Corelib 'print' implementation.

lib/ui/painting.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be
33
// found in the LICENSE file.
44

5+
// @dart = 2.6
56
part of dart.ui;
67

78
// Some methods in this file assert that their arguments are not null. These

0 commit comments

Comments
 (0)