ValueFormatter typedef

ValueFormatter = Object? Function(Object? value, InterpolationFormat format, Locale locale, I18NextOptions options)

The formatter signature for I18NextOptions.formats.

The value can be null if the variable wasn't evaluated properly, giving a chance for the formatter to do something

Implementation

typedef ValueFormatter = Object? Function(
  Object? value,
  InterpolationFormat format,
  Locale locale,
  I18NextOptions options,
);