From ebf1c181905350c8ba449f619ef48da2827bb9be Mon Sep 17 00:00:00 2001 From: MahmoudElmaghraby Date: Sun, 8 Dec 2024 14:45:27 +0200 Subject: [PATCH] Refactor: Update text style to use 'headlineSmall' instead of 'headline5' for consistency with the latest Flutter text theme API. --- lib/article_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/article_page.dart b/lib/article_page.dart index a16d4de..f9134c4 100644 --- a/lib/article_page.dart +++ b/lib/article_page.dart @@ -24,7 +24,7 @@ class ArticlePage extends StatelessWidget { children: [ Text( article.title, - style: Theme.of(context).textTheme.headline5, + style: Theme.of(context).textTheme.headlineSmall, ), const SizedBox(height: 8), Text(article.content),