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.

Implementation

final ShapeBorder shape