make method

  1. @override
TextSpan make({
  1. Key? key,
})

Implementation

@override
TextSpan make({Key? key}) {
  final ts = TextStyle(
    color: velocityColor,
    fontSize: _fontSize,
    fontStyle: _fontStyle,
    fontFamily: _fontFamily,
    fontWeight: _fontWeight,
    letterSpacing: _letterSpacing,
    decoration: _decoration,
    height: _lineHeight,
    textBaseline: _textBaseline ?? TextBaseline.alphabetic,
    wordSpacing: _wordSpacing,
  );
  return TextSpan(
    text: _text,
    recognizer: _gestureRecognizer,
    children: _textSpanChildren,
    style: _themedStyle?.merge(ts) ?? _textStyle?.merge(ts) ?? ts,
  );
}