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

@@ -15,7 +15,7 @@ void main() {
await WidgetsBinding.instance.reassembleApplication();
return log;
});
runApp(const MaterialApp(home: Test()));
runApp(MaterialApp(home: const Test()));
}
class Test extends SingleChildRenderObjectWidget {

View File

@@ -7,9 +7,9 @@ import 'package:flutter/material.dart';
class AnimatedIconsTestApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
return MaterialApp(
title: 'Animated Icons Test',
home: Scaffold(
home: const Scaffold(
body: IconsList(),
),
);

View File

@@ -474,7 +474,7 @@ class _AnimationDemoState extends State<AnimationDemo> with TickerProviderStateM
}
void main() {
runApp(const MaterialApp(
home: AnimationDemo(),
runApp(MaterialApp(
home: const AnimationDemo(),
));
}