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