getRed method

TextSpan getRed(
  1. String text
)

Implementation

TextSpan getRed(String text) {
  return TextSpan(
      text: text,
      style: TextStyle(
          fontFamily: Config.fontFamily != null ? Config.fontFamily : Fonts.poppins,
          fontSize: 12,
          color: Colors.red
      )
  );
}