Revert flutter/flutter#19592 (#19861)

It was causing problems rolling Flutter into Fuchsia
This commit is contained in:
Todd Volkert
2018-07-27 08:44:39 -07:00
committed by GitHub
parent 8b05629658
commit 00aac68e2d
575 changed files with 41035 additions and 41036 deletions

View File

@@ -14,7 +14,7 @@ import 'package:test/test.dart';
import 'package:vm_service_client/vm_service_client.dart';
/// Magical timeout value that's different from the default.
const Duration _kTestTimeout = Duration(milliseconds: 1234);
const Duration _kTestTimeout = const Duration(milliseconds: 1234);
const String _kSerializedTestTimeout = '1234';
void main() {

View File

@@ -106,8 +106,8 @@ void main() {
new Directionality(
textDirection: TextDirection.ltr,
child: new ListView(children: const <Widget>[
SizedBox(width: 100.0, height: 100.0, child: Text('hello')),
SizedBox(width: 100.0, height: 100.0, child: Text('hello')),
const SizedBox(width: 100.0, height: 100.0, child: const Text('hello')),
const SizedBox(width: 100.0, height: 100.0, child: const Text('hello')),
]),
),
);