getTopStyleButtonBorder static method

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

Implementation

static BorderSide getTopStyleButtonBorder(
  BuildContext context, {
  UpStyle? override,
  UpStyle? style,
  UpColorType? colorType,
}) {
  return BorderSide(
    style: style?.buttonBorderTopStyle?.buttonBorderStyle ??
        getButtonBorderStyle(context, style: style, colorType: colorType),
    width: style?.buttonBorderTopStyle?.buttonBorderWidth ??
        getButtonBorderWidth(context, style: style, colorType: colorType),
    color: style?.buttonBorderTopStyle?.buttonBorderColor ??
        getButtonBorderColor(context, style: style, colorType: colorType),
  );
}