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:
parent
328d4d4895
commit
87194a2301
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user