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

Commit

Permalink
[android_alarm_manager] Removed deprecated display1 (#3200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek01039 authored Oct 26, 2020
1 parent f608743 commit 11244cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/android_alarm_manager/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ class _AlarmHomePageState extends State<_AlarmHomePage> {

@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),
Expand Down

0 comments on commit 11244cf

Please sign in to comment.