getBottomBorder function

BorderSide getBottomBorder(
  1. Styles styles
)

Implementation

BorderSide getBottomBorder(Styles styles) {
  if (styles.borderBottomColor != null &&
      styles.borderBottomStyle.isNotEmpty &&
      styles.borderBottomWidth != null) {
    return BorderSide(
        color: HexColor(styles.borderBottomColor),
        style: getBorderStyle(styles.borderBottomStyle),
        width: getSize(size: styles.borderBottomWidth));
  } else {
    return BorderSide.none;
  }
}