enableShape property

bool enableShape
final

if true button will have rounded corners If you want custom shape you can use customShape property

Implementation

final bool enableShape;