[android_alarm_manager] Removed deprecated display1 (#3200)
diff --git a/packages/android_alarm_manager/example/lib/main.dart b/packages/android_alarm_manager/example/lib/main.dart
index 4ba6977..b4d907c 100644
--- a/packages/android_alarm_manager/example/lib/main.dart
+++ b/packages/android_alarm_manager/example/lib/main.dart
@@ -104,11 +104,7 @@
@override
Widget build(BuildContext context) {
- // TODO(jackson): This has been deprecated and should be replaced
- // with `headline4` when it's available on all the versions of
- // Flutter that we test.
- // ignore: deprecated_member_use
- final textStyle = Theme.of(context).textTheme.display1;
+ final textStyle = Theme.of(context).textTheme.headline4;
return Scaffold(
appBar: AppBar(
title: Text(widget.title),