hint property Null safety

String? hint
final

Provides a brief textual description of the result of an action performed on the widget.

If a hint is provided, there must either be an ambient Directionality or an explicit textDirection should be provided.

Callers must not provide both hint and attributedHint, One or both must be null.

See also:

Implementation

final String? hint;