jonataslaw/readmore

showing ellipses when expanded

gauravdv opened this issue · 0 comments

Need to remove delimiter when show less, I try it but does not work for me.

TextSpan _delimiter = TextSpan(
      text: _readMore
          ? widget.trimCollapsedText.isNotEmpty
              ? ''
              : ''
          : widget.trimExpandedText.isNotEmpty
              ? ''
              : '',
      style: _defaultDelimiterStyle,
      recognizer: TapGestureRecognizer()..onTap = _onTapLink,
    );