getDropdownBorderRadius static method

double getDropdownBorderRadius(
  1. BuildContext context, {
  2. UpStyle? override,
  3. UpStyle? style,
  4. UpColorType? colorType,
})

Implementation

static double getDropdownBorderRadius(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return override?.dropdownBorderRadius ??
      style?.dropdownBorderRadius ??
      getStyleByType(
              (FlutterUpConfig.of(context)?.theme ??
                  UpConstants.kDefaultTheme),
              colorType)
          .dropdownBorderRadius ??
      UpConstants.kDefaultStyleBorderRadius;
}