decoration property

InputDecoration? decoration
final

Similarly of the decoration property of the TextFormField.

If no decoration is null, a default InputDecoration will be created for the widget. This is done basically so we can put the show and hide icons.

Implementation

final InputDecoration? decoration;