Commit ab6df3af authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

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.
parent 506aea03
...@@ -14,7 +14,7 @@ import 'package:flutter_gallery/gallery/app.dart' show GalleryApp; ...@@ -14,7 +14,7 @@ import 'package:flutter_gallery/gallery/app.dart' show GalleryApp;
const String kCaption = 'Flutter Gallery'; const String kCaption = 'Flutter Gallery';
final List<String> demoCategories = new LinkedHashSet<String>.from( final List<String> demoCategories = new LinkedHashSet<String>.from(
kAllGalleryItems.map((GalleryItem item) => item.category) kAllGalleryItems.map<String>((GalleryItem item) => item.category)
).toList(); ).toList();
final List<String> routeNames = final List<String> routeNames =
......
...@@ -334,7 +334,7 @@ class _TestRecordingCanvasPatternMatcher extends Matcher implements PaintPattern ...@@ -334,7 +334,7 @@ class _TestRecordingCanvasPatternMatcher extends Matcher implements PaintPattern
description.add('Object or closure painting: '); description.add('Object or closure painting: ');
return description.addAll( return description.addAll(
'', ', ', '', '', ', ', '',
_predicates.map((_PaintPredicate predicate) => predicate.toString()), _predicates.map<String>((_PaintPredicate predicate) => predicate.toString()),
); );
} }
...@@ -692,7 +692,7 @@ String _describeInvocation(Invocation call) { ...@@ -692,7 +692,7 @@ String _describeInvocation(Invocation call) {
buffer.write(call.positionalArguments[0].toString()); buffer.write(call.positionalArguments[0].toString());
} else if (call.isMethod) { } else if (call.isMethod) {
buffer.write('('); buffer.write('(');
buffer.writeAll(call.positionalArguments.map(_valueName), ', '); buffer.writeAll(call.positionalArguments.map<String>(_valueName), ', ');
String separator = call.positionalArguments.isEmpty ? '' : ', '; String separator = call.positionalArguments.isEmpty ? '' : ', ';
call.namedArguments.forEach((Symbol name, Object value) { call.namedArguments.forEach((Symbol name, Object value) {
buffer.write(separator); buffer.write(separator);
......
...@@ -222,7 +222,7 @@ class _FlutterPlatform extends PlatformPlugin { ...@@ -222,7 +222,7 @@ class _FlutterPlatform extends PlatformPlugin {
processObservatoryPort = detectedPort; processObservatoryPort = detectedPort;
}, },
startTimeoutTimer: () { startTimeoutTimer: () {
new Future<_InitialResult>.delayed(_kTestStartupTimeout, timeout.complete); new Future<_InitialResult>.delayed(_kTestStartupTimeout).then((_) => timeout.complete());
}, },
); );
......
...@@ -21,7 +21,7 @@ dependencies: ...@@ -21,7 +21,7 @@ dependencies:
meta: ^1.0.4 meta: ^1.0.4
mustache: ^0.2.5 mustache: ^0.2.5
package_config: '>=0.1.5 <2.0.0' package_config: '>=0.1.5 <2.0.0'
platform: 1.1.0 platform: 1.1.1
process: 2.0.1 process: 2.0.1
stack_trace: ^1.4.0 stack_trace: ^1.4.0
usage: ^3.0.0+1 usage: ^3.0.0+1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment