enableDeltaModel property
final
Whether to enable that the engine sends text input updates to the framework as TextEditingDelta's or as one TextEditingValue.
Enabling this flag results in granular text updates being received from the platform's text input control.
When this is enabled:
- You must implement DeltaTextInputClient and not TextInputClient to receive granular updates from the platform's text input.
- Platform text input updates will come through DeltaTextInputClient.updateEditingValueWithDeltas.
- If TextInputClient is implemented with this property enabled then you will experience unexpected behavior as TextInputClient does not implement a delta channel.
When this is disabled:
- If DeltaTextInputClient is implemented then updates for the editing state will continue to come through the DeltaTextInputClient.updateEditingValue channel.
- If TextInputClient is implemented then updates for the editing state will come through TextInputClient.updateEditingValue.
Defaults to false.
Implementation
final bool enableDeltaModel;