@@ -44,7 +44,7 @@ class ContestCard extends StatelessWidget {
4444 },
4545 child: Padding (
4646 padding: EdgeInsets .symmetric (
47- vertical: 10. h ,
47+ vertical: 10. r ,
4848 ),
4949 child: Row (
5050 mainAxisAlignment: MainAxisAlignment .spaceBetween,
@@ -69,7 +69,7 @@ class ContestCard extends StatelessWidget {
6969 style: AppStyles .h6,
7070 ),
7171 Padding (
72- padding: EdgeInsets .symmetric (vertical: 6. h ),
72+ padding: EdgeInsets .symmetric (vertical: 6. r ),
7373 child: Text (
7474 upcoming != null ? upcoming! .name : ongoing! .name,
7575 style: AppStyles .h4.copyWith (
@@ -82,7 +82,7 @@ class ContestCard extends StatelessWidget {
8282 SvgPicture .asset (
8383 AppAssets .clock,
8484 ),
85- SizedBox (width: 4. w ),
85+ SizedBox (width: 4. r ),
8686 Text (
8787 upcoming != null ? upcoming! .time : ongoing! .time,
8888 style: AppStyles .h6,
@@ -110,7 +110,7 @@ class ContestCard extends StatelessWidget {
110110 ),
111111 ),
112112 title: Container (
113- padding: EdgeInsets .symmetric (vertical: 10. h ),
113+ padding: EdgeInsets .symmetric (vertical: 10. r ),
114114 decoration: BoxDecoration (
115115 color: AppColors .grey7,
116116 borderRadius: BorderRadius .vertical (
@@ -135,13 +135,13 @@ class ContestCard extends StatelessWidget {
135135 ),
136136 ),
137137 child: SizedBox (
138- height: 120. h ,
138+ height: 120. r ,
139139 child: Column (
140140 children: [
141141 Padding (
142142 padding: EdgeInsets .symmetric (
143- horizontal: 30. w ,
144- vertical: 10. h ,
143+ horizontal: 30. r ,
144+ vertical: 10. r ,
145145 ),
146146 child: Text (
147147 'You will be reminded before the contest starts. Set the timer' ,
@@ -159,8 +159,8 @@ class ContestCard extends StatelessWidget {
159159 valueListenable: _remindNotifer,
160160 builder: (context, value, _) {
161161 return SizedBox (
162- height: 60. h ,
163- width: 30. w ,
162+ height: 60. r ,
163+ width: 30. r ,
164164 child: ListWheelScrollView (
165165 controller:
166166 FixedExtentScrollController (
@@ -190,7 +190,7 @@ class ContestCard extends StatelessWidget {
190190 );
191191 },
192192 ),
193- SizedBox (width: 4. w ),
193+ SizedBox (width: 4. r ),
194194 Text (
195195 'minutes' ,
196196 style: AppStyles .h6.copyWith (
@@ -218,8 +218,8 @@ class ContestCard extends StatelessWidget {
218218 },
219219 child: Container (
220220 padding: EdgeInsets .symmetric (
221- horizontal: 40. w ,
222- vertical: 10. h ,
221+ horizontal: 40. r ,
222+ vertical: 10. r ,
223223 ),
224224 color: AppColors .grey10,
225225 child: Text (
@@ -255,8 +255,8 @@ class ContestCard extends StatelessWidget {
255255 },
256256 child: Container (
257257 padding: EdgeInsets .symmetric (
258- horizontal: 40. w ,
259- vertical: 10. h ,
258+ horizontal: 40. r ,
259+ vertical: 10. r ,
260260 ),
261261 color: AppColors .primary,
262262 child: Text (
0 commit comments