getModelTextStyle static method

TextStyle getModelTextStyle(
  1. BuildContext context,
  2. TextStyleEntity textStyle
)

Implementation

static TextStyle getModelTextStyle(
    BuildContext context, TextStyleEntity textStyle) {
  return TetaTextStyles.getTextStyle(
    textStyle.fontFamily,
    textStyle.fontSize.size,
    textStyle.fontWeight.get,
    null,
    null,
    null,
    null,
    null,
  );
}