Widgets app refactor (#22269)
* Refactor of cupertino/material/widgets app * update docs * Update tests for const
This commit is contained in:
@@ -7,9 +7,9 @@ import 'package:flutter/material.dart';
|
||||
class AnimatedIconsTestApp extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
return const MaterialApp(
|
||||
title: 'Animated Icons Test',
|
||||
home: const Scaffold(
|
||||
home: Scaffold(
|
||||
body: IconsList(),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -474,7 +474,7 @@ class _AnimationDemoState extends State<AnimationDemo> with TickerProviderStateM
|
||||
}
|
||||
|
||||
void main() {
|
||||
runApp(MaterialApp(
|
||||
home: const AnimationDemo(),
|
||||
runApp(const MaterialApp(
|
||||
home: AnimationDemo(),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user