TranslationBuilder typedef

TranslationBuilder = String? Function(String? value)

all of the forms' errors, hints and labels call this function before displaying. The value passed as a parameter. If you need to translate the value of even change it completely return your value.

The way you implement your localization mechanism is up to you

Implementation

typedef TranslationBuilder = String? Function(String? value);