shape property
The shape of the button's Material.
The button's highlight and splash are clipped to this shape. If the button has an elevation, then its drop shadow is defined by this shape.
If shape is a MaterialStateProperty<ShapeBorder>, MaterialStateProperty.resolve is used for the following MaterialStates:
Implementation
final ShapeBorder shape;