shape property

ShapeBorder? shape

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 as well.

Defaults to the value from the current ButtonTheme, ButtonThemeData.shape.


final ShapeBorder? shape;