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

@@ -7,9 +7,9 @@ import 'package:flutter/services.dart';
import 'test_step.dart';
Future<TestStepResult> systemNavigatorPop() {
const BasicMessageChannel<String> channel = BasicMessageChannel<String>(
const BasicMessageChannel<String> channel = const BasicMessageChannel<String>(
'navigation-test',
StringCodec(),
const StringCodec(),
);
final Completer<TestStepResult> completer = new Completer<TestStepResult>();

View File

@@ -13,8 +13,8 @@ typedef Future<TestStepResult> TestStep();
const String nothing = '-';
class TestStepResult {
static const TextStyle bold = TextStyle(fontWeight: FontWeight.bold);
static const TestStepResult complete = TestStepResult(
static const TextStyle bold = const TextStyle(fontWeight: FontWeight.bold);
static const TestStepResult complete = const TestStepResult(
'Test complete',
nothing,
TestStatus.complete,