formatEditUpdate method

  1. @override
TextEditingValue formatEditUpdate(
  1. TextEditingValue oldValue,
  2. TextEditingValue newValue
)
override

Implementation

@override
TextEditingValue formatEditUpdate(
  TextEditingValue oldValue,
  TextEditingValue newValue,
) =>
    super.formatEditUpdate(
      oldValue,
      newValue.copyWith(text: newValue.text.toUpperCase()),
    );