disabledBorder method

InputBorder disabledBorder(
  1. ZeroTextfieldSize sizeType
)

Implementation

InputBorder disabledBorder(ZeroTextfieldSize sizeType) {
  switch (inputDecorationType) {
    case InputDecorationType.outline:
      return OutlineInputBorder(
          borderSide:
              BorderSide(color: ZeroColors.neutral[5], width: borderWidth),
          borderRadius: borderRadius(sizeType));
    case InputDecorationType.rounded:
      return OutlineInputBorder(
          borderSide:
              BorderSide(color: ZeroColors.neutral[5], width: borderWidth),
          borderRadius: borderRadius(sizeType));
    case InputDecorationType.underline:
      return UnderlineInputBorder(
          borderSide:
              BorderSide(color: ZeroColors.neutral[5], width: borderWidth),
          borderRadius: borderRadius(sizeType));
    case InputDecorationType.fill:
      return UnderlineInputBorder(
          borderSide:
              BorderSide(color: ZeroColors.neutral[7], width: borderWidth),
          borderRadius: borderRadius(sizeType));
  }
}