applyColor method

ZetaTextStyle applyColor(
  1. Color color
)

Applies the given color to the text styles.

Implementation

ZetaTextStyle applyColor(Color color) {
  return ZetaTextStyle(
    fontFamily: fontFamily,
    textColor: color,
  );
}