error property

Widget? error
final

A widget that is displayed underneath the prefix and child widgets.

The error widget is primarily used to inform users of input errors. When a Text is given to error, it will be shown in CupertinoColors.destructiveRed coloring and medium-weighted font. The row becomes taller in order to display the helper widget underneath prefix and child. If null, the row is shorter.

Implementation

final Widget? error;