decoration property

BoxDecoration? decoration
final

Sets the decoration for the text field.

This property is automatically set using the backgroundColor and borderRadius properties, which both have default values. Therefore, decoration has a default value upon building the widget. It is designed to mimic the look of a UISearchTextField.

Implementation

final BoxDecoration? decoration;