shape property

ShapeBorder? shape
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 as well.

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

Implementation

final ShapeBorder? shape;