errorBuilder property

Widget Function(BuildContext, String) errorBuilder
final

A builder that transforms a FormFieldState.errorText into a widget. Defaults to a Text widget.

The builder is called whenever validator returns an error text.

Implementation

final Widget Function(BuildContext, String) errorBuilder;