textStyle method

VelocityXTextSpan textStyle(
  1. TextStyle _style
)

Use textStyle to provide custom or any theme style.

If the style's 'inherit' property is true, the style will be merged with the closest enclosing DefaultTextStyle. Otherwise, the style will replace the closest enclosing DefaultTextStyle.

Implementation

VelocityXTextSpan textStyle(TextStyle _style) {
  _themedStyle = _style;
  return this;
}