getNonSelectableTextWidget method

Widget getNonSelectableTextWidget(
  1. BuildContext context
)

Get text widget

Implementation

Widget getNonSelectableTextWidget(BuildContext context) {
  return Text(
    spwmlParams.p.text,
    key: textParams.p.key,
    style: textParams.p.style ?? getStyle(context),
    strutStyle: textParams.p.strutStyle ?? getStrutStyle(context),
    textAlign: textParams.p.textAlign ?? getTextAlign(),
    textDirection: textParams.p.textDirection,
    locale: textParams.p.locale,
    softWrap: textParams.p.softWrap,
    overflow: textParams.p.overflow,
    textScaler: textParams.p.textScaler ?? MediaQuery.of(context).textScaler,
    maxLines: textParams.p.maxLines,
    semanticsLabel: textParams.p.semanticsLabel,
    textWidthBasis: textParams.p.textWidthBasis,
    textHeightBehavior: textParams.p.textHeightBehavior,
    selectionColor: textParams.p.selectionColor,
  );
}