border property

InputBorder border
final

The shape of the border to be drawn around the InputField can be defined using the border variable.

This variable can take on several different values including:

InputBorder.none, which means no border will be drawn.

UnderlineInputBorder, which draws a horizontal line at the bottom of the InputField.

OutlineInputBorder, which results in a rounded rectangle being drawn around the InputField.

note that: if border property of the inputThemeis not equal InputBorder.none, the border of CountryListPicker will be canceled.

Implementation

final InputBorder border;