Remove deprecated TextTheme members (#139255)

Part of: https://github.com/flutter/flutter/issues/143956
This commit is contained in:
Renzo Olivares
2024-03-27 18:20:55 -07:00
committed by GitHub
parent 2079f34962
commit f5b65bad0f
9 changed files with 81 additions and 337 deletions

View File

@@ -88,7 +88,7 @@ class CountDisplay extends StatelessWidget {
width: 100,
height: 100,
padding: const EdgeInsetsDirectional.all(10),
child: Text('$count', style: Theme.of(context).textTheme.headline4),
child: Text('$count', style: Theme.of(context).textTheme.headlineMedium),
);
}
}