errorStyle static method

TextStyle errorStyle({
  1. Color? color,
  2. double? fontSize,
  3. double? letterSpacing,
})

Implementation

static TextStyle errorStyle({
  Color? color,
  double? fontSize,
  double? letterSpacing,
}) =>
    copyStyle(
        fontSize: fontSize ?? 11,
        color: color ?? Styles.red2,
        letterSpacing: letterSpacing ?? -0.5);