mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
19 lines
565 B
Dart
19 lines
565 B
Dart
// Copyright 2015 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 'dart:async';
|
|
|
|
import 'package:sky/src/widgets/framework.dart';
|
|
|
|
import '../../../examples/widgets/styled_text.dart';
|
|
import '../resources/display_list.dart';
|
|
|
|
main() async {
|
|
TestRenderView testRenderView = new TestRenderView();
|
|
StyledTextApp app = new StyledTextApp();
|
|
runApp(app, renderViewOverride: testRenderView);
|
|
await testRenderView.checkFrame();
|
|
testRenderView.endTest();
|
|
}
|