shape property

OutlinedBorder? shape

The OutlinedBorder to draw around the chip.

Defaults to the shape in the ambient ChipThemeData. If the theme shape resolves to null and ThemeData.useMaterial3 is true, then RoundedRectangleBorder with a circular border radius of 8.0 is used. Otherwise, StadiumBorder is used.

This shape is combined with side to create a shape decorated with an outline. If side is not null or side of shape is BorderSide.none, side of shape is ignored. To omit the outline entirely, pass BorderSide.none to side.

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


OutlinedBorder? get shape;