Wire dart2js through flutter tool, add compilation test (#27668)
This commit is contained in:
13
dev/integration_tests/web/lib/main.dart
Normal file
13
dev/integration_tests/web/lib/main.dart
Normal 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),
|
||||
));
|
||||
}
|
||||
Reference in New Issue
Block a user