-
Notifications
You must be signed in to change notification settings - Fork 33
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
Binding generation #20
Comments
Hello! Is there are any eta for this? Wanna to use dio or other http client, but seems have to write too much boilerplate code for this, or mb exists some other workaround? |
@DenchikBY no eta sorry, I only work on this in my spare time. Easiest 'workaround' is if you create a function that does the data fetching with Dio you can pass it into an Eval function as an anonymous closure by simply wrapping with $Function and putting in the args array. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Should this be a CLI option? |
Basic binding generator added to the CLI in v0.7.1 based on @a-wallen's work. |
dart_eval should have a tool to scan an existing package (including the Dart and Flutter SDK) and auto-generate bindings. Maybe can use package:build?
(for anyone who finds this: If you need to write bindings right now I suggest using GitHub Copilot, it does a fairly good job generating the boilerplate)
The text was updated successfully, but these errors were encountered: