Fix typos in ListTile examples. (#129606)

Fix typos.

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
This commit is contained in:
Jia Tan 2023-06-28 23:29:03 -07:00 committed by GitHub
parent 328d4d4895
commit 87194a2301
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View File

@ -20,19 +20,19 @@ class ListTileApp extends StatelessWidget {
), ),
useMaterial3: true, useMaterial3: true,
), ),
home: const LisTileExample(), home: const ListTileExample(),
); );
} }
} }
class LisTileExample extends StatefulWidget { class ListTileExample extends StatefulWidget {
const LisTileExample({super.key}); const ListTileExample({super.key});
@override @override
State<LisTileExample> createState() => _LisTileExampleState(); State<ListTileExample> createState() => _ListTileExampleState();
} }
class _LisTileExampleState extends State<LisTileExample> with TickerProviderStateMixin { class _ListTileExampleState extends State<ListTileExample> with TickerProviderStateMixin {
late final AnimationController _fadeController; late final AnimationController _fadeController;
late final AnimationController _sizeController; late final AnimationController _sizeController;
late final Animation<double> _fadeAnimation; late final Animation<double> _fadeAnimation;

View File

@ -15,13 +15,13 @@ class ListTileApp extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
theme: ThemeData(useMaterial3: true), theme: ThemeData(useMaterial3: true),
home: const LisTileExample(), home: const ListTileExample(),
); );
} }
} }
class LisTileExample extends StatelessWidget { class ListTileExample extends StatelessWidget {
const LisTileExample({super.key}); const ListTileExample({super.key});
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {

View File

@ -15,19 +15,19 @@ class ListTileApp extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
theme: ThemeData(useMaterial3: true), theme: ThemeData(useMaterial3: true),
home: const LisTileExample(), home: const ListTileExample(),
); );
} }
} }
class LisTileExample extends StatefulWidget { class ListTileExample extends StatefulWidget {
const LisTileExample({super.key}); const ListTileExample({super.key});
@override @override
State<LisTileExample> createState() => _LisTileExampleState(); State<ListTileExample> createState() => _ListTileExampleState();
} }
class _LisTileExampleState extends State<LisTileExample> { class _ListTileExampleState extends State<ListTileExample> {
int _selectedIndex = 0; int _selectedIndex = 0;
@override @override