decoration property

InputDecoration decoration

decoration is a decoration which gets generated based on the state of this widget. It should be used to decorate the generated text field, use InputDecoration.copyWith or the copyWithDecoration extension, to add additional decoration.

Implementation

InputDecoration get decoration => _decoration;