textStyle method

VxRichText 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

VxRichText textStyle(TextStyle? style) {
  _themedStyle = style;
  return this;
}