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

How to generate flutter widgets (textfields, checkboxes, viewlist,etc) with Hetu script #62

Open
aumas opened this issue Apr 2, 2024 · 2 comments

Comments

@aumas
Copy link

aumas commented Apr 2, 2024

I read the documention but couldn't find an example for flutter widget creation.

What's the best practice to generate page/widgets with the script and interact between widget and script?
can you please provide a sample to implement below:
create a page with a textbox on it. populate the textbox with a value (e.g.: "Mike").
user changes "Mike" to another text, e.g: "Kevin", and press enter to finish the input.
print the user's input in debug console.

Thank you!
Henry

@hythl0day
Copy link
Member

hythl0day commented Jun 2, 2024

Sorry, the dynamic widget is not my interest right now. And there's other guy who is working on this field, but sadly he is no longer working with me and his own code on this is not open source.
All I can say is that for now it is doable but the scripting engine itself is low-efficiency compare to other scripting language like LUA. Hetu is mainly a personal hobby project for now. So I cannot provide more help on this topic.

@aumas
Copy link
Author

aumas commented Jun 3, 2024 via email

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