decoration property

InputDecoration decoration
final

Decoration to customize the appearance of the field.

Supports all standard InputDecoration properties like labels, hints, borders, and prefix/suffix widgets. Error text from validation will be automatically added to this decoration.

Implementation

final InputDecoration decoration;