getBtnShape method
Get button shape (eg. pill,rounded,leaf)
Implementation
BorderRadius getBtnShape() {
if (BtnShape.pill == shape) return FxRadius.radius30;
if (BtnShape.rounded == shape) return FxRadius.radius5;
if (BtnShape.rleft == shape) return FxRadius.left(30);
if (BtnShape.rright == shape) return FxRadius.right(30);
if (BtnShape.leaf == shape)
return FxRadius.only(bottomLeft: 30, topRight: 30);
return FxRadius.all(0);
}