mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
parent
1a15cb2d27
commit
fd3884b473
@ -4,7 +4,7 @@ import 'package:test/test.dart';
|
||||
import 'build_utils.dart';
|
||||
|
||||
void main() {
|
||||
test('Global key mutate during iteration', () {
|
||||
test('Align smoke test', () {
|
||||
WidgetTester tester = new WidgetTester();
|
||||
|
||||
tester.pumpFrame(() {
|
||||
|
||||
@ -1,23 +1,23 @@
|
||||
// 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.dart';
|
||||
import 'package:sky/theme/colors.dart' as colors;
|
||||
import 'package:sky/widgets.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
class BigCircleApp extends App {
|
||||
Widget build() {
|
||||
return new Container(
|
||||
import 'build_utils.dart';
|
||||
|
||||
void main() {
|
||||
test('Circles can have uniform borders', () {
|
||||
WidgetTester tester = new WidgetTester();
|
||||
|
||||
tester.pumpFrame(() {
|
||||
return new Container(
|
||||
padding: new EdgeDims.all(50.0),
|
||||
decoration: new BoxDecoration(
|
||||
shape: Shape.circle,
|
||||
border: new Border.all(width: 10.0, color: const Color(0x80FF00FF)),
|
||||
backgroundColor: colors.Teal[600]
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
void main() {
|
||||
runApp(new BigCircleApp());
|
||||
});
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user