shape property
final
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 WidgetStateProperty<ShapeBorder>, WidgetStateProperty.resolve is used for the following WidgetStates:
Implementation
final ShapeBorder shape;