FallbackTextValidator typedef

FallbackTextValidator = String? Function(String value)

Validator for fallback text input.

Return null for success, or a non-empty error message to ask again. Returning '' is also accepted as success for backwards compatibility.

Implementation

typedef FallbackTextValidator = String? Function(String value);