Rename library to dart.ui (flutter/engine#3608)
This name is consistent with how the other `dart:` libraries are named now.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// An opaque object representing a composited scene.
|
||||
///
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// Base class for [Size] and [Offset], which are both ways to describe
|
||||
/// a distance as a two-dimensional axis-aligned vector.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
class _HashEnd { const _HashEnd(); }
|
||||
const _HashEnd _hashEnd = const _HashEnd();
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
String _decodeUTF8(ByteData message) {
|
||||
return message != null ? UTF8.decoder.convert(message.buffer.asUint8List()) : null;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// Linearly interpolate between two numbers.
|
||||
double lerpDouble(num a, num b, double t) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
// Corelib 'print' implementation.
|
||||
void _print(arg) {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
Color _scaleAlpha(Color a, double factor) {
|
||||
return a.withAlpha((a.alpha * factor).round());
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// How the pointer has changed since the last report.
|
||||
enum PointerChange {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// The possible actions that can be conveyed from the operating system
|
||||
/// accessibility APIs to a semantics node.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// Whether to slant the glyphs in the font
|
||||
enum FontStyle {
|
||||
|
||||
@@ -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.
|
||||
library dart_ui;
|
||||
library dart.ui;
|
||||
|
||||
import 'dart:_internal';
|
||||
import 'dart:async';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
part of dart_ui;
|
||||
part of dart.ui;
|
||||
|
||||
/// Signature of callbacks that have no arguments and return no data.
|
||||
typedef void VoidCallback();
|
||||
|
||||
Reference in New Issue
Block a user