Remove opt outs for dart:ui (flutter/engine#22603)
* Remove null safety opt outs for dart:ui
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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(); }
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user