shape property

ButtonShape shape
final

Assign a shape to set the shape of the button.

The default value is "ButtonShape.rectangle".

Possible shapes are:

ButtonShape.rectangle => To give this button a rectangle or square shape.

ButtonShape.circle => To give this button a circle shape.

Implementation

final ButtonShape shape;