From 18eeaa167d7e031a8e536005cae6a69a751e857f Mon Sep 17 00:00:00 2001 From: Youngbin Han Date: Fri, 8 Sep 2023 02:17:06 +0900 Subject: [PATCH] Align nametag text center --- lib/printScreen.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/printScreen.dart b/lib/printScreen.dart index 6a2aeb2..d4764ae 100644 --- a/lib/printScreen.dart +++ b/lib/printScreen.dart @@ -123,9 +123,10 @@ class _PrintPageState extends State { children: [ Text( nametagName, + textAlign: TextAlign.center, style: TextStyle( fontWeight: ui.FontWeight.bold, - fontSize: 80), + fontSize: 75), ), Text( nametagAffiliation, @@ -170,6 +171,7 @@ class _PrintPageState extends State { ), Text( couponDetail, + textAlign: TextAlign.center, style: TextStyle(fontSize: 30), ), ],