Wire dart2js through flutter tool, add compilation test (#27668)

This commit is contained in:
Jonah Williams
2019-02-14 22:42:30 -08:00
committed by GitHub
parent 8661d8aecd
commit 9bc5656637
16 changed files with 353 additions and 64 deletions

View File

@@ -0,0 +1,13 @@
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/widgets.dart';
void main() {
runApp(Center(
// Can remove when https://github.com/dart-lang/sdk/issues/35801 is fixed.
// ignore: prefer_const_constructors
child: Text('Hello, World', textDirection: TextDirection.ltr),
));
}