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

Any way to use this without Dart? #15

Closed
iMplode-nZ opened this issue Jun 12, 2021 · 4 comments
Closed

Any way to use this without Dart? #15

iMplode-nZ opened this issue Jun 12, 2021 · 4 comments

Comments

@iMplode-nZ
Copy link

I would really like to be able to build a Rust application with Flutter UI without writing code in Dart. Is this at all possible? (I'm willing to have to install dart and stuff, but I don't want to write the ui code in it)

@knopp
Copy link
Contributor

knopp commented Jun 12, 2021

That's not possible.

@knopp knopp closed this as completed Jun 12, 2021
@iMplode-nZ
Copy link
Author

iMplode-nZ commented Jun 12, 2021

Would it ever be possible in the future or is rust just internal?

@knopp
Copy link
Contributor

knopp commented Jun 13, 2021

Rust is used for low level platform specific code. In applications built with NativeShell rust code can be called through platform channels or FFI. But it can not be used to build user interfaces. For that you need to look elsewhere.

FWIW, for building user interfaces dart is, despite lacking some of rust features, probably much more productive language. Especially when you take hot reload into account.

@iMplode-nZ
Copy link
Author

Well yes, but I don't want to do FFI between a rust game and a dart UI. Rust could work decently well for UI if there were any libraries for it imo.

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