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

[android_alarm_manager] deprecated display1 #3200

Merged
merged 1 commit into from
Oct 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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