withImeConnectionNotifier method

TestSuperEditorConfigurator withImeConnectionNotifier(
  1. ValueNotifier<bool>? isImeConnected
)

Configures the SuperEditor with the given isImeConnected notifier, which allows test code to listen for changes to the IME connection from within SuperEditor.

Implementation

TestSuperEditorConfigurator withImeConnectionNotifier(ValueNotifier<bool>? isImeConnected) {
  _config.isImeConnected = isImeConnected ?? ValueNotifier<bool>(false);
  return this;
}