toTextStyle method

TextStyle toTextStyle(
  1. Color color
)

Implementation

TextStyle toTextStyle(Color color) {
  return TextStyle(
    color: color,
    fontSize: fontSize,
    fontFamily: fontFamily,
    fontWeight: fontWeight,
  );
}