border method
Implementation
InputBorder border(ZeroTextfieldSize sizeType) {
switch (inputDecorationType) {
case InputDecorationType.outline:
return OutlineInputBorder(
borderSide: BorderSide(color: borderColor, width: borderWidth),
borderRadius: borderRadius(sizeType));
case InputDecorationType.rounded:
return OutlineInputBorder(
borderSide: BorderSide(color: borderColor, width: borderWidth),
borderRadius: borderRadius(sizeType));
case InputDecorationType.underline:
return UnderlineInputBorder(
borderSide: BorderSide(color: borderColor, width: borderWidth),
borderRadius: borderRadius(sizeType));
case InputDecorationType.fill:
return UnderlineInputBorder(
borderSide: BorderSide(color: borderColor, width: borderWidth),
borderRadius: borderRadius(sizeType));
}
}