decoration property

InputDecoration decoration

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 and hoverColor set to the supplied buttonStyleData.overlayColor (if any) will be used.


final InputDecoration decoration;