generateTextStyle method
Implementation
TextStyle generateTextStyle() {
return TextStyle(
color: color,
fontSize: fontSize,
fontWeight: fontWeight,
decoration: decoration ?? TextDecoration.none,
height: height,
textBaseline: textBaseline,
);
}