formatEditUpdate method
Implementation
@override
TextEditingValue formatEditUpdate(
TextEditingValue oldValue,
TextEditingValue newValue,
) {
if (_lastResValue == oldValue && newValue == _lastNewValue) {
return oldValue;
}
_lastNewValue = newValue;
return _lastResValue = _format(oldValue, newValue);
}