Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 11244cf

Browse files
[android_alarm_manager] Removed deprecated display1 (#3200)
1 parent f608743 commit 11244cf

File tree

1 file changed

+1
-5
lines changed
  • packages/android_alarm_manager/example/lib

1 file changed

+1
-5
lines changed

packages/android_alarm_manager/example/lib/main.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ class _AlarmHomePageState extends State<_AlarmHomePage> {
104104

105105
@override
106106
Widget build(BuildContext context) {
107-
// TODO(jackson): This has been deprecated and should be replaced
108-
// with `headline4` when it's available on all the versions of
109-
// Flutter that we test.
110-
// ignore: deprecated_member_use
111-
final textStyle = Theme.of(context).textTheme.display1;
107+
final textStyle = Theme.of(context).textTheme.headline4;
112108
return Scaffold(
113109
appBar: AppBar(
114110
title: Text(widget.title),

0 commit comments

Comments
 (0)