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

@@ -30,7 +30,7 @@ class _MyHomePageState extends State<MyHomePage> {
static const String _pong = 'pong';
static const String _emptyMessage = '';
static const BasicMessageChannel<String> platform =
BasicMessageChannel<String>(_channel, StringCodec());
const BasicMessageChannel<String>(_channel, const StringCodec());
int _counter = 0;
@@ -69,7 +69,7 @@ class _MyHomePageState extends State<MyHomePage> {
child: new Row(
children: <Widget>[
new Image.asset('assets/flutter-mark-square-64.png', scale: 1.5),
const Text('Flutter', style: TextStyle(fontSize: 30.0)),
const Text('Flutter', style: const TextStyle(fontSize: 30.0)),
],
),
),