From a3df0fabaedd93009c790b848d6dc509e4bb6624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lui=CC=81s=20Arteiro?= Date: Wed, 10 May 2023 15:07:49 +0100 Subject: [PATCH] feat: Centering text in pages. #4 --- lib/pages.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pages.dart b/lib/pages.dart index 6f487dc..fe7b727 100644 --- a/lib/pages.dart +++ b/lib/pages.dart @@ -19,6 +19,7 @@ class TourPage extends StatelessWidget { Text( AppLocalization.of(context).getTranslatedValue("feature_page.title").toString(), style: const TextStyle(fontSize: 30), + textAlign: TextAlign.center, ), Padding( padding: const EdgeInsets.all(16), @@ -55,6 +56,7 @@ class SettingsPage extends StatelessWidget { Text( AppLocalization.of(context).getTranslatedValue("settings_page.title").toString(), style: const TextStyle(fontSize: 30), + textAlign: TextAlign.center, ), Padding( padding: const EdgeInsets.all(16),