Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List out of range 0 : 1 #9

Open
priyesh-bit opened this issue Sep 25, 2021 · 0 comments
Open

List out of range 0 : 1 #9

priyesh-bit opened this issue Sep 25, 2021 · 0 comments

Comments

@priyesh-bit
Copy link

priyesh-bit commented Sep 25, 2021

I was facing the issue of List out of range 0 : 1

I've fixed that issue for me which is at linkwell.dart & line no 255

if (wid != null && wid.isNotEmpty && wid.length!=1) {
        if (wid[1] != '') {
          if (value == links.last) {
            var text = TextSpan(
              text: wid[1],
              style: style == null ? Helper.defaultTextStyle : style,
            );

            /// added
            textSpanWidget.add(text);
          } else {
            t = wid[1];
          }
        }else{
          t = "";
        }
      }

I request you to please have a look and add the condition which I mentioned above

@priyesh-bit priyesh-bit changed the title List out of range List out of range 0 : 1 Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant