decoration property

InputDecoration decoration
final

The decoration to show around the dropdown button form field.

By default, draws a horizontal line under the dropdown button field but can be configured to show an icon, label, hint text, and error text.

If not specified, an InputDecorator with the focusColor set to the supplied focusColor (if any) will be used.

Implementation

final InputDecoration decoration;