borderRadius property
BorderRadius
get
borderRadius
Returns the border radius based on the button shape.
Implementation
BorderRadius get borderRadius {
return switch (this) {
VButtonShape.ROUNDED => BorderRadius.circular(8),
VButtonShape.ROUNDED_FULL => BorderRadius.circular(999),
VButtonShape.SQUARE => BorderRadius.circular(4),
VButtonShape.CIRCLE => BorderRadius.circular(999),
};
}