File tree 2 files changed +10
-1
lines changed
packages/flutter/lib/src/foundation
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,12 @@ The rule for packages in this directory is that they can depend on
2
2
nothing but core Dart packages. They can't depend on ` dart:ui ` , they
3
3
can't depend on any ` package: ` , and they can't depend on anything
4
4
outside this directory.
5
+
6
+ Currently they do depend on dart: ui , but only for ` VoidCallback ` and
7
+ ` hashValues ` (and maybe one day ` hashList ` and ` lerpDouble ` ), which
8
+ are all intended to be moved out of ` dart:ui ` and into ` dart:core ` .
9
+
10
+ See also:
11
+
12
+ * https://github.com/dart-lang/sdk/issues/27791 (` VoidCallback ` )
13
+ * https://github.com/dart-lang/sdk/issues/25217 (` hashValues ` , ` hashList ` , and ` lerpDouble ` )
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style license that can be
3
3
// found in the LICENSE file.
4
4
5
- import 'dart:ui' ;
5
+ import 'dart:ui' show VoidCallback ;
6
6
7
7
/// Whether we've been built in release mode.
8
8
const bool _kReleaseMode = bool .fromEnvironment ('dart.vm.product' );
You can’t perform that action at this time.
0 commit comments