OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 import 'package:sky/widgets/basic.dart'; |
| 6 import 'package:sky/widgets/flat_button.dart'; |
| 7 import 'package:sky/widgets/floating_action_button.dart'; |
| 8 import 'package:sky/widgets/raised_button.dart'; |
| 9 |
| 10 import '../resources/display_list.dart'; |
| 11 |
| 12 main() async { |
| 13 WidgetTester tester = new WidgetTester(); |
| 14 |
| 15 await tester.test(() { |
| 16 return new Center(child: new RaisedButton(child: new Text("ENGAGE"))); |
| 17 }); |
| 18 |
| 19 await tester.test(() { |
| 20 return new Center(child: new FlatButton(child: new Text("ENGAGE"))); |
| 21 }); |
| 22 |
| 23 await tester.test(() { |
| 24 return new Center(child: new FloatingActionButton(child: new Text("+"))); |
| 25 }); |
| 26 |
| 27 await tester.endTest(); |
| 28 } |
OLD | NEW |