helper property

Widget? helper

Optional widget that appears below the InputDecorator.child.

If non-null, the helper is displayed below the InputDecorator.child, in the same location as error. If a non-null error or errorText value is specified then the helper is not shown.

This example shows a TextField with a widget as the helper. The widget contains Text and Icon widgets with different styles.

To create a local project with this code sample, run:
flutter create --sample=material.InputDecoration.helper.1 mysample

Only one of helper and helperText can be specified.


final Widget? helper;