BaseText constructor

BaseText(
  1. String text, {
  2. required Color color,
  3. FontWeight? fontWeight,
  4. double? fontSize,
})

Implementation

BaseText(
    String text, {
      required Color color,
      FontWeight? fontWeight,
      double? fontSize})
    : super.rich(
    TextSpan(
        text: text,
        style: TextStyle(
            color: color,
            fontWeight: fontWeight,
            fontSize: fontSize
        )
    )
);