setLocaleChangeCallback method

void setLocaleChangeCallback(
  1. LocaleChangeCallback? localeChangeCallback
)

设置语言变更回调

Implementation

void setLocaleChangeCallback(LocaleChangeCallback? localeChangeCallback) {
  this.localeChangeCallback = localeChangeCallback;
}