value property
The current value stored in this notifier.
When the value is replaced with something that is not equal to the old value as evaluated by the equality operator ==, this class notifies its listeners.
Implementation
@override
T get value => _value;
Implementation
@override
set value(TextEditingValue newValue) {
try {
var newDetectionContent = _extractLastWordFromValue(newValue);
newDetectionContent.splitMapJoin(
_combinedPattern,
onMatch: _onMatchValueText,
onNonMatch: _onNonMatchValueText,
);
} catch (e) {
debugPrint("Error in processing value: $e");
}
super.value = newValue;
}