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 {
),
useMaterial3: true,
),
home: const LisTileExample(),
home: const ListTileExample(),
);
}
}
class LisTileExample extends StatefulWidget {
const LisTileExample({super.key});
class ListTileExample extends StatefulWidget {
const ListTileExample({super.key});
@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 _sizeController;
late final Animation<double> _fadeAnimation;
......
......@@ -15,13 +15,13 @@ class ListTileApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: true),
home: const LisTileExample(),
home: const ListTileExample(),
);
}
}
class LisTileExample extends StatelessWidget {
const LisTileExample({super.key});
class ListTileExample extends StatelessWidget {
const ListTileExample({super.key});
@override
Widget build(BuildContext context) {
......
......@@ -15,19 +15,19 @@ class ListTileApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(useMaterial3: true),
home: const LisTileExample(),
home: const ListTileExample(),
);
}
}
class LisTileExample extends StatefulWidget {
const LisTileExample({super.key});
class ListTileExample extends StatefulWidget {
const ListTileExample({super.key});
@override
State<LisTileExample> createState() => _LisTileExampleState();
State<ListTileExample> createState() => _ListTileExampleState();
}
class _LisTileExampleState extends State<LisTileExample> {
class _ListTileExampleState extends State<ListTileExample> {
int _selectedIndex = 0;
@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