onLocaleChangedByWebView property
Stream
onLocaleChangedByWebView
Stream which triggers a callback on locale change when in webview
Implementation
static Stream get onLocaleChangedByWebView {
webviewStreamController.onCancel = () {
_registerForEvent(ACTION_LOCALE_CHANGED_BY_WEBVIEW, false);
};
webviewStreamController.onListen = () {
_registerForEvent(ACTION_LOCALE_CHANGED_BY_WEBVIEW, true);
};
return webviewStreamController.stream;
}