notifyRadioStatusChanged static method

void notifyRadioStatusChanged(
  1. OnBrnFormRadioValueChanged? onTextChanged,
  2. BuildContext context,
  3. Object? oldVal,
  4. Object? newVal,
)

处理 单选选中状态变化

Implementation

static void notifyRadioStatusChanged(
    OnBrnFormRadioValueChanged? onTextChanged,
    BuildContext context,
    Object? oldVal,
    Object? newVal) {
  if (onTextChanged != null) {
    onTextChanged(oldVal as String?, newVal as String?);
  }
}