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

Example code should be description #18

Open
har200105 opened this issue Jan 1, 2025 · 4 comments
Open

Example code should be description #18

har200105 opened this issue Jan 1, 2025 · 4 comments

Comments

@har200105
Copy link

har200105 commented Jan 1, 2025

Hey @Crazelu can you add a example or the example of the GIF you have added in README file , with the example code you have added in README here or pub.dev site , it is difficult to test it easily.

Also onSearch function is not perfectly explain

@Crazelu
Copy link
Owner

Crazelu commented Jan 1, 2025

The GIF in the README is a snapshot of the example project. You should check that out.

onSearch is called whenever search is triggered by typing in a trigger character. For example, trigger character can be @ or #. You can define what you want for your trigger characters to be using triggerCharacterAndStyles or triggerCharactersRegex.

@har200105
Copy link
Author

Yes, that i saw and will check it out but again still there is not any static code or a single file code to test it easily in out existing project.
Was asking for that.

Still great work , and really loved the work , the package which i really wanted.
Kudos @Crazelu

@har200105
Copy link
Author

@Crazelu Or can you provide a snippet of code where i can use the TextEditor for mentioning some and to render the mentioned user content.

@Crazelu
Copy link
Owner

Crazelu commented Jan 2, 2025

All of the code you need to see how this works is in the example project. Give it a look

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

2 participants