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,
|
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 {
|
|||||||
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 {
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user