shape property

  1. @override
OutlinedBorder? shape
final

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. To omit the outline entirely, pass BorderSide.none to side.

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

Implementation

@override
final OutlinedBorder? shape;