asNiku property

NikuText get asNiku

Implementation

NikuText get asNiku => NikuText(
      data,
      style: style?.asNiku,
      strutStyle: strutStyle?.asNiku,
      textAlign: textAlign != TextAlign.left ? textAlign : null,
      textDirection:
          textDirection != TextDirection.ltr ? textDirection : null,
      locale: locale,
      softWrap: softWrap != true ? softWrap : null,
      overflow: overflow != TextOverflow.clip ? overflow : null,
      textScaleFactor: textScaleFactor != 1.0 ? textScaleFactor : null,
      maxLines: maxLines != 1 ? maxLines : null,
      semanticsLabel: semanticsLabel,
      textWidthBasis:
          textWidthBasis != TextWidthBasis.parent ? textWidthBasis : null,
      textHeightBehavior: textHeightBehavior,
    );