|
@@ -95,15 +95,15 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
//新加坡的选项
|
|
|
Container(
|
|
|
width: double.infinity,
|
|
|
- margin: EdgeInsets.only(top: 48, left: 20, right: 20),
|
|
|
- padding: EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
+ margin: const EdgeInsets.only(top: 48, left: 20, right: 20),
|
|
|
+ padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
decoration: BoxDecoration(
|
|
|
- color: Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
+ color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
borderRadius: BorderRadius.circular(5.0), // 设置圆角
|
|
|
),
|
|
|
child: Row(
|
|
|
children: [
|
|
|
- MyAssetImage(Assets.cptAuthSgIcon, width: 50, height: 33),
|
|
|
+ const MyAssetImage(Assets.cptAuthSgIcon, width: 50, height: 33),
|
|
|
MyTextView(
|
|
|
"Singapore".tr,
|
|
|
marginLeft: 17,
|
|
@@ -114,7 +114,7 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
Obx(() {
|
|
|
return Visibility(
|
|
|
visible: ConfigService.to.curSelectCountry.value == 1,
|
|
|
- child: MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
+ child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
);
|
|
|
}),
|
|
|
],
|
|
@@ -126,15 +126,15 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
//越南的选项
|
|
|
Container(
|
|
|
width: double.infinity,
|
|
|
- margin: EdgeInsets.only(top: 13.5, left: 20, right: 20),
|
|
|
- padding: EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
+ margin: const EdgeInsets.only(top: 13.5, left: 20, right: 20),
|
|
|
+ padding: const EdgeInsets.symmetric(vertical: 13, horizontal: 17),
|
|
|
decoration: BoxDecoration(
|
|
|
- color: Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
+ color: const Color(0xFF4DCFF6).withOpacity(0.2), // 设置背景颜色和不透明度
|
|
|
borderRadius: BorderRadius.circular(5.0), // 设置圆角
|
|
|
),
|
|
|
child: Row(
|
|
|
children: [
|
|
|
- MyAssetImage(Assets.cptAuthVnIcon, width: 50, height: 33),
|
|
|
+ const MyAssetImage(Assets.cptAuthVnIcon, width: 50, height: 33),
|
|
|
MyTextView(
|
|
|
"Vietnam".tr,
|
|
|
marginLeft: 17,
|
|
@@ -145,7 +145,7 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
Obx(() {
|
|
|
return Visibility(
|
|
|
visible: ConfigService.to.curSelectCountry.value == 0,
|
|
|
- child: MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
+ child: const MyAssetImage(Assets.cptAuthCheckedIcon, width: 22, height: 22),
|
|
|
);
|
|
|
}),
|
|
|
],
|
|
@@ -171,7 +171,7 @@ class SelectCountryPage extends BaseStatelessPage<SelectCountryController> {
|
|
|
backgroundColor: hexToColor("#FFBB1B"),
|
|
|
fontWeight: FontWeight.w500,
|
|
|
),
|
|
|
- Positioned(
|
|
|
+ const Positioned(
|
|
|
right: 28,
|
|
|
top: 0,
|
|
|
bottom: 0,
|