Unverified Commit 87194a23 authored by Jia Tan's avatar Jia Tan Committed by GitHub

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].*
parent 328d4d48
...@@ -20,19 +20,19 @@ class ListTileApp extends StatelessWidget { ...@@ -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;
......
...@@ -15,13 +15,13 @@ class ListTileApp extends StatelessWidget { ...@@ -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) {
......
...@@ -15,19 +15,19 @@ class ListTileApp extends StatelessWidget { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment