onChanged property

ValueChanged<String>? onChanged
final

Called every time the typed value changes.

The argument is the current sanitized text (0 to numberOfDigits chars; the exact set of accepted characters depends on codeType and codeLetterSet). Optional — pass null to ignore typing changes.

Implementation

final ValueChanged<String>? onChanged;