|
|
|
@ -461,7 +461,7 @@ class _EditInfoPageState extends State<EditInfoPage> { |
|
|
|
fontSize: 13.w, |
|
|
|
fontWeight: FontWeight.w500 |
|
|
|
), |
|
|
|
),), |
|
|
|
), hideArrow: true,), |
|
|
|
Container( |
|
|
|
margin: EdgeInsets.only(bottom: 3.w), |
|
|
|
decoration: BoxDecoration( |
|
|
|
@ -558,12 +558,15 @@ class _EditInfoPageState extends State<EditInfoPage> { |
|
|
|
Icon( |
|
|
|
Icons.keyboard_arrow_right, |
|
|
|
size: 13.w, |
|
|
|
color: const Color.fromRGBO(191, 191, 191, 1) |
|
|
|
color: Color.fromRGBO(191, 191, 191, (controller.userData.value?.identityCard != null && controller.userData.value?.identityCard != "") ? 0 : 1) |
|
|
|
) |
|
|
|
], |
|
|
|
) |
|
|
|
], |
|
|
|
).onTap((){ |
|
|
|
if(controller.userData.value?.identityCard != null && controller.userData.value?.identityCard != ""){ |
|
|
|
return; |
|
|
|
} |
|
|
|
_showDatePicker(controller); |
|
|
|
}), |
|
|
|
], |
|
|
|
@ -1176,7 +1179,8 @@ class SetItem extends StatefulWidget { |
|
|
|
final String label; |
|
|
|
final bool showRequired; |
|
|
|
final Widget child; |
|
|
|
const SetItem({super.key, required this.label, this.showRequired = true, required this.child}); |
|
|
|
final bool hideArrow; |
|
|
|
const SetItem({super.key, required this.label, this.showRequired = true, required this.child, this.hideArrow = false}); |
|
|
|
|
|
|
|
@override |
|
|
|
State<SetItem> createState() => _SetItemState(); |
|
|
|
@ -1229,7 +1233,7 @@ class _SetItemState extends State<SetItem> { |
|
|
|
Icon( |
|
|
|
Icons.keyboard_arrow_right, |
|
|
|
size: 13.w, |
|
|
|
color: const Color.fromRGBO(191, 191, 191, 1) |
|
|
|
color: Color.fromRGBO(191, 191, 191, widget.hideArrow ? 0 : 1) |
|
|
|
) |
|
|
|
], |
|
|
|
), |
|
|
|
|