Deprecate 2018 text theme parameters (#109817)

This commit is contained in:
Kate Lovett
2022-08-22 15:00:34 -05:00
committed by GitHub
parent 717d92e802
commit 7e12b37111
151 changed files with 1112 additions and 609 deletions

View File

@@ -401,9 +401,9 @@ class PaletteTabView extends StatelessWidget {
Widget build(BuildContext context) {
final TextTheme textTheme = Theme.of(context).textTheme;
final TextStyle whiteTextStyle =
textTheme.bodyText2!.copyWith(color: Colors.white);
textTheme.bodyMedium!.copyWith(color: Colors.white);
final TextStyle blackTextStyle =
textTheme.bodyText2!.copyWith(color: Colors.black);
textTheme.bodyMedium!.copyWith(color: Colors.black);
return Scrollbar(
child: ListView(
itemExtent: kColorItemHeight,