-
Notifications
You must be signed in to change notification settings - Fork 88
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
Editable HighlightView Implementation #16
base: master
Are you sure you want to change the base?
Conversation
Make visible a editingcontroller & textspan getter
Seems good to me ! |
I've used @tusharsadhwani's branch in a small side project of mine, and it's working beautifully! It'd be good to get this merged. 👍 |
Since this project seems kinda abandoned, and since the subdirectory-based structure of this repo doesn't let you directly add a fork's github URL in your You can use my fork in your projects by doing this in your dependencies:
flutter:
sdk: flutter
highlight: ^0.6.0
flutter_highlight:
git: https://github.com/tusharsadhwani/flutter_highlight |
Expands on the implementation in PR #13
Adds a controller property to HighlightView, so people can provide text via text property or via controller property
Add an editable property, which if true, renders a TextField instead of a RichText
Updated the example to use editable HighlightView
Fixes #3
Fixes #6