text justify 无法与阿拉伯语 RichText 一起正常工作

Dee*_*lot 5 arabic richtext dart flutter

我正在使用 RichText,在此文本中,当使用文本跨度中的任何数字时,justify 无法与 RichText 一起正常工作,但如果没有字符串中的数字,则工作正常

RichText(
            softWrap: true,
            textAlign: TextAlign.justify,
            text: TextSpan(
              style: TextStyle(
                color: Colors.black,
                fontWeight: FontWeight.w500,
                fontSize: 16.0,
              ),
              children: getSpan(),
            ),
          ),
Run Code Online (Sandbox Code Playgroud)
 List<TextSpan> getSpan() {
    List<TextSpan> spans = List<TextSpan>();
    spans.add(TextSpan(
      text: "???????? ?????????? ??????? ???????? ???? ???????? ??????????? ?????????????  ? ????????? ??????????? ????????????? ????? ?????? ??????? ???????",
    ));
    spans.add(
      TextSpan(
          text: "???????? ?????????? ??????? ???????? ???? ???????? ??????????? ?????????????? ????????? ??????????? ????????????? ????? ?????? ??????? ???????",
          recognizer: TapGestureRecognizer()
            ..onTap = () {
              print("click on me");
            }),
    );
    for (int i = 0; i < 10; i++) {
      spans.add(TextSpan(
        text: "???????? ?????????? ??????? ???????? ???? ???????? ??????????? ?????????????? ????????? ??????????? ????????????? ????? ?????? ??????? ???????",
      ));
    }

    return spans;
  }
Run Code Online (Sandbox Code Playgroud)

有号码 有号码

没有号码 没有号码