shape property Null safety
final
Overrides the default for ChipAttributes.shape, the shape of border to draw around the chip.
This shape is combined with side to create a shape decorated with an outline. If it is a MaterialStateOutlinedBorder, MaterialStateProperty.resolve is used for the following MaterialStates:
- MaterialState.disabled.
- MaterialState.selected.
- MaterialState.hovered.
- MaterialState.focused.
- MaterialState.pressed.
This property applies to ActionChip, Chip, ChoiceChip, FilterChip, InputChip, RawChip.
Implementation
final OutlinedBorder? shape;