errorBuilder property

FieldBlocErrorBuilder? errorBuilder
final

This function take the context and the FieldBlocState.error and must return a String error to display in the widget when has an error or null if you don't want to display the error. By default is FieldBlocBuilder.defaultErrorBuilder.

Implementation

final FieldBlocErrorBuilder? errorBuilder;