Bump to Dart SDK 1.23.0-dev.10 (#9051)

* Bump to Dart SDK 1.23.0-dev.10

* allows us to understand flutter usage via telemetry
* brings in `@immutable`

Fixes: #9042

* completer fix

* Update to platform 1.1.1.
This commit is contained in:
Phil Quitslund 2017-03-28 14:53:03 -07:00 committed by GitHub
parent 506aea0316
commit ab6df3af40
5 changed files with 6 additions and 6 deletions

View file

@ -1 +1 @@
1.23.0-dev.9.0
1.23.0-dev.10.0

View file

@ -14,7 +14,7 @@ import 'package:flutter_gallery/gallery/app.dart' show GalleryApp;
const String kCaption = 'Flutter Gallery';
final List<String> demoCategories = new LinkedHashSet<String>.from(
kAllGalleryItems.map((GalleryItem item) => item.category)
kAllGalleryItems.map<String>((GalleryItem item) => item.category)
).toList();
final List<String> routeNames =

View file

@ -334,7 +334,7 @@ class _TestRecordingCanvasPatternMatcher extends Matcher implements PaintPattern
description.add('Object or closure painting: ');
return description.addAll(
'', ', ', '',
_predicates.map((_PaintPredicate predicate) => predicate.toString()),
_predicates.map<String>((_PaintPredicate predicate) => predicate.toString()),
);
}
@ -692,7 +692,7 @@ String _describeInvocation(Invocation call) {
buffer.write(call.positionalArguments[0].toString());
} else if (call.isMethod) {
buffer.write('(');
buffer.writeAll(call.positionalArguments.map(_valueName), ', ');
buffer.writeAll(call.positionalArguments.map<String>(_valueName), ', ');
String separator = call.positionalArguments.isEmpty ? '' : ', ';
call.namedArguments.forEach((Symbol name, Object value) {
buffer.write(separator);

View file

@ -222,7 +222,7 @@ class _FlutterPlatform extends PlatformPlugin {
processObservatoryPort = detectedPort;
},
startTimeoutTimer: () {
new Future<_InitialResult>.delayed(_kTestStartupTimeout, timeout.complete);
new Future<_InitialResult>.delayed(_kTestStartupTimeout).then((_) => timeout.complete());
},
);

View file

@ -21,7 +21,7 @@ dependencies:
meta: ^1.0.4
mustache: ^0.2.5
package_config: '>=0.1.5 <2.0.0'
platform: 1.1.0
platform: 1.1.1
process: 2.0.1
stack_trace: ^1.4.0
usage: ^3.0.0+1