textStyle method

TextStyle textStyle(
  1. bool enabled
)

Implementation

TextStyle textStyle(bool enabled) {
  Color fontColor = enabled ? ZeroColors.neutral[10] : ZeroColors.neutral[7];
  switch (inputDecorationType) {
    case InputDecorationType.outline:
      return TextStyle(color: fontColor, fontSize: 16);
    case InputDecorationType.rounded:
      return TextStyle(color: fontColor, fontSize: 16);
    case InputDecorationType.fill:
      return TextStyle(color: fontColor, fontSize: 16);
    case InputDecorationType.underline:
      return TextStyle(color: fontColor, fontSize: 16);
  }
}