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

I'm getting this error #5

Open
aliabdulrab7 opened this issue May 18, 2021 · 0 comments
Open

I'm getting this error #5

aliabdulrab7 opened this issue May 18, 2021 · 0 comments

Comments

@aliabdulrab7
Copy link

════════ Exception caught by widgets library ═══════════════════════════════════
The following RangeError was thrown building TextHighlight(dirty):
RangeError (start): Invalid value: Not in inclusive range 0..35: -1

The relevant error-causing widget was
TextHighlight
lib/main.dart:103
When the exception was thrown, this was the stack
#0 RangeError.checkValidRange (dart:core/errors.dart:328:7)
#1 _StringBase.replaceRange (dart:core-patch/string_patch.dart:607:33)
#2 TextHighlight._bind
package:highlight_text/highlight_text.dart:75
#3 TextHighlight.build
package:highlight_text/highlight_text.dart:52
#4 StatelessElement.build
package:flutter/…/widgets/framework.dart:4569
...
═════════════════════════

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