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(
(FlutterUpConfig.of(context)?.theme ??
UpConstants.kDefaultTheme),
colorType)
.buttonBorderRadius ??
UpConstants.kDefaultStyleBorderRadius;
}