getTextStyle method

TextStyle getTextStyle(
  1. BuildContext context
)

Implementation

TextStyle getTextStyle(BuildContext context) {
  final model = context.stylesState.textStyles[textStyle.textStyleModel];
  return TetaTextStyles.get(
    nodeState: nodeState,
    context: context,
    model: model,
    fill: textStyle.fill,
    fontFamily: textStyle.fontFamily,
    fontSize: textStyle.fontSize,
    fontWeight: textStyle.fontWeight,
    textDecoration: textStyle.textDecoration,
    fontStyle: textStyle.fontStyle,
    lineSpacing: textStyle.lineSpacing,
    letterSpacing: textStyle.letterSpacing,
  );
}