@@ -1078,10 +1078,8 @@ class _HealthHomeScreenState extends State<HealthHomeScreen> {
10781078 ),
10791079 ),
10801080 TextSpan (
1081- text: '${_todaySteps .toString ().replaceAllMapped (
1082- RegExp (r'(\d{1,3})(?=(\d{3})+(?!\d))' ),
1083- (Match match ) => '${match [1 ]},'
1084- ).replaceAll (RegExp (r',$' ), '' )}' ,
1081+ text:
1082+ '${_todaySteps .toString ().replaceAllMapped (RegExp (r'(\d{1,3})(?=(\d{3})+(?!\d))' ), (Match match ) => '${match [1 ]},' ).replaceAll (RegExp (r',$' ), '' )}' ,
10851083 style: const TextStyle (
10861084 fontSize: 25 ,
10871085 fontWeight: FontWeight .w600,
@@ -1104,14 +1102,14 @@ class _HealthHomeScreenState extends State<HealthHomeScreen> {
11041102 ),
11051103 ),
11061104 Positioned (
1107- right: 10 ,
1108- bottom: 10 ,
1105+ right: 0 ,
1106+ bottom: 8 ,
11091107 child: GestureDetector (
11101108 onTap: () => _changeView ('crossFamilyRanking' ),
11111109 child: Container (
11121110 padding: const EdgeInsets .symmetric (
1113- horizontal: 2 ,
1114- vertical: 8 ,
1111+ horizontal: 0 ,
1112+ vertical: 3 ,
11151113 ),
11161114 decoration: BoxDecoration (
11171115 color: Colors .white,
@@ -1122,20 +1120,33 @@ class _HealthHomeScreenState extends State<HealthHomeScreen> {
11221120 children: [
11231121 SvgPicture .asset (
11241122 'assets/images/step_ranking_icon.svg' ,
1125- height: 10 ,
1126- width: 10 ,
1123+ height: 18 ,
1124+ width: 18 ,
11271125 color: AppColors .ongiGrey,
11281126 ),
11291127 const SizedBox (width: 4 ),
1130- const Text (
1131- '다른 가족들은 얼마나 걸었을까요?' ,
1132- style: TextStyle (
1133- fontSize: 10 ,
1134- fontWeight: FontWeight .w400,
1135- color: Colors .black,
1136- height: 1.2 ,
1128+ Align (
1129+ alignment: Alignment .centerRight,
1130+ child: Container (
1131+ decoration: const BoxDecoration (
1132+ border: Border (
1133+ bottom: BorderSide (
1134+ width: 0.6 ,
1135+ color: Colors .black,
1136+ ),
1137+ ),
1138+ ),
1139+ child: const Text (
1140+ '다른 가족들은 몇 걸음 걸었을까요?' ,
1141+ style: TextStyle (
1142+ fontSize: 11 ,
1143+ fontWeight: FontWeight .w400,
1144+ color: Colors .black,
1145+ height: 1.2 ,
1146+ ),
1147+ textAlign: TextAlign .right,
1148+ ),
11371149 ),
1138- textAlign: TextAlign .right,
11391150 ),
11401151 ],
11411152 ),
0 commit comments