getButtonBorderRadius static method
double
getButtonBorderRadius(
- BuildContext context, {
- UpStyle? override,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static double getButtonBorderRadius(
BuildContext context, {
UpStyle? override,
UpStyle? style,
UpColorType? colorType,
}) {
return override?.buttonBorderRadius ??
style?.buttonBorderRadius ??
getStyleByType(UpConfig.of(context).theme, colorType)
.buttonBorderRadius ??
UpConstants.kDefaultStyleBorderRadius;
}