Revert "Refactor of cupertino/material/widgets app (#22161)" (#22249)

This reverts commit 61cf946ba8.
This commit is contained in:
Dan Field
2018-09-25 00:25:50 -04:00
committed by GitHub
parent 61cf946ba8
commit a52bd81560
33 changed files with 558 additions and 458 deletions

View File

@@ -10,8 +10,8 @@ void main() {
testWidgets('receiveAction() forwards exception when exception occurs during action processing',
(WidgetTester tester) async {
// Setup a widget that can receive focus so that we can open the keyboard.
const Widget widget = MaterialApp(
home: Material(
final Widget widget = MaterialApp(
home: const Material(
child: TextField(),
),
);

View File

@@ -533,8 +533,8 @@ void main() {
group('getSemanticsData', () {
testWidgets('throws when there are no semantics', (WidgetTester tester) async {
await tester.pumpWidget(
const MaterialApp(
home: Scaffold(
MaterialApp(
home: const Scaffold(
body: Text('hello'),
),
),