diff --git a/README.md b/README.md index d177ef2..f2393fd 100644 --- a/README.md +++ b/README.md @@ -202,6 +202,9 @@ class _HomePageState extends State { 0.5.sh //50% of screen height 20.setVerticalSpacing // SizedBox(height: 20 * scaleHeight) 20.horizontalSpace // SizedBox(height: 20 * scaleWidth) + const RPadding.all(8) // Padding.all(8.r) - take advantage of const key word + REdgeInsts.all(8) // EdgeInsets.all(8.r) + EdgeInsets.only(left:8,right:8).r // EdgeInsets.only(left:8.r,right:8.r). ``` #### Adapt screen size: diff --git a/README_CN.md b/README_CN.md index 7266954..835661f 100644 --- a/README_CN.md +++ b/README_CN.md @@ -161,6 +161,9 @@ class _HomePageState extends State { 0.5.sh //屏幕高度的50% 20.setVerticalSpacing // SizedBox(height: 20 * scaleHeight) 20.horizontalSpace // SizedBox(height: 20 * scaleWidth) + const RPadding.all(8) // Padding.all(8.r) - take advantage of const key word + REdgeInsts.all(8) // EdgeInsets.all(8.r) + EdgeInsets.only(left:8,right:8).r // EdgeInsets.only(left:8.r,right:8.r). ``` diff --git a/README_PT.md b/README_PT.md index 1466fd0..50473a6 100644 --- a/README_PT.md +++ b/README_PT.md @@ -151,6 +151,9 @@ class _HomePageState extends State { 0.5.sh //50% altura da tela 20.setVerticalSpacing // SizedBox(height: 20 * scaleHeight) 20.horizontalSpace // SizedBox(height: 20 * scaleWidth) + const RPadding.all(8) // Padding.all(8.r) - take advantage of const key word + REdgeInsts.all(8) // EdgeInsets.all(8.r) + EdgeInsets.only(left:8,right:8).r // EdgeInsets.only(left:8.r,right:8.r). ``` #### Adaptar o tamanho da tela: