error property

Widget? error
final

Optional widget that appears below the InputDecorator.child and the border.

If non-null, the border's color animates to red and the helperText is not shown.

Only one of error and errorText can be specified.

Implementation

final Widget? error;