phase3: checkout files clean (nullable fields, ternary/concat/condition fixes). 142->131

This commit is contained in:
2026-07-31 15:05:08 +08:00
parent a6d5b9cd2d
commit 5cb5ef6396
3 changed files with 30 additions and 30 deletions

View File

@@ -47,7 +47,7 @@ class RadioOptionsState extends OptionsBaseState<RadioOptions> {
overflow: TextOverflow.ellipsis,
),
new Text(
product.productAttributes![this.index].required ? S.of(context).radio_option_is_required : S.of(context).radio_option_is_optional,
product.productAttributes![this.index].required == true ? S.of(context).radio_option_is_required : S.of(context).radio_option_is_optional,
style: new TextStyle(
fontSize: 10.0,
color: new Color(0xFF999999)