from static method
Implementation
static XTextParams from(XText widget, SSRBuildContext context) {
return XTextParams(
data: widget.interpolate == true
? widget.text.interpolate(context.config)
: widget.text.interpolateAny(context.config),
maxLines: widget.maxLines,
overflow: TextOverflow.ellipsis,
textAlign: widget.align?.toTextAlignment(),
style: widget.toHubbleTextStyle(),
isReactive: widget.reactive == true,
contextName: context.name,
onTap: widget.onTap?.buildHandler(context),
isInterpolated: widget.interpolate == true,
);
}