side property

  1. @override
BorderSide? side

The color and weight of the chip's outline.

Defaults to the border side in the ambient ChipThemeData. If the theme border side resolves to null and ThemeData.useMaterial3 is true, then BorderSide with a ColorScheme.outline color is used when the chip is enabled, and BorderSide with a ColorScheme.onSurface color with an opacity of 0.12 is used when the chip is disabled. Otherwise, it defaults to null.

This value is combined with shape to create a shape decorated with an outline. To omit the outline entirely, pass BorderSide.none to side.

If it is a MaterialStateBorderSide, MaterialStateProperty.resolve is used for the following MaterialStates:


final BorderSide? side;