Showing
1 changed file
with
3 additions
and
0 deletions
@@ -202,6 +202,9 @@ class _HomePageState extends State<HomePage> { | @@ -202,6 +202,9 @@ class _HomePageState extends State<HomePage> { | ||
202 | 0.5.sh //50% of screen height | 202 | 0.5.sh //50% of screen height |
203 | 20.setVerticalSpacing // SizedBox(height: 20 * scaleHeight) | 203 | 20.setVerticalSpacing // SizedBox(height: 20 * scaleHeight) |
204 | 20.horizontalSpace // SizedBox(height: 20 * scaleWidth) | 204 | 20.horizontalSpace // SizedBox(height: 20 * scaleWidth) |
205 | + const RPadding.all(8) // Padding.all(8.r) - take advantage of const key word | ||
206 | + REdgeInsts.all(8) // EdgeInsets.all(8.r) | ||
207 | + EdgeInsets.only(left:8,right:8).r // EdgeInsets.only(left:8.r,right:8.r). | ||
205 | ``` | 208 | ``` |
206 | 209 | ||
207 | #### Adapt screen size: | 210 | #### Adapt screen size: |
-
Please register or login to post a comment