BaseText constructor
BaseText(
- String text, {
- required Color color,
- FontWeight? fontWeight,
- 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
)
)
);