borderSide property

BorderSide borderSide

Defines the color of the border when the button is enabled but not pressed, and the border outline's width and style in general.

If the border side's is BorderStyle.none, then an outline is not drawn.

If null the default border's style is BorderStyle.solid, its BorderSide.width is 1.0, and its color is a light shade of grey.

If borderSide.color is a MaterialStateProperty<Color>, MaterialStateProperty.resolve is used in all states and both highlightedBorderColor and disabledBorderColor are ignored.


final BorderSide borderSide