mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
23 lines
568 B
Dart
23 lines
568 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 'package:sky/widgets/basic.dart';
|
|
import 'package:sky/widgets/dialog.dart';
|
|
|
|
import '../resources/display_list.dart';
|
|
|
|
main() async {
|
|
WidgetTester tester = new WidgetTester();
|
|
|
|
await tester.test(() {
|
|
return new Dialog(
|
|
title: new Text("I am a title"),
|
|
content: new Text("I am some content"),
|
|
actions: [new Text("I am some actions")]
|
|
);
|
|
});
|
|
|
|
tester.endTest();
|
|
}
|