Skip to content

Repository files navigation

ciart_studio

flutter packages pub run build_runner watch

Using Rust Inside Flutter

This project leverages Flutter for GUI and Rust for the backend logic, utilizing the capabilities of the Rinf framework.

To run and build this app, you need to have Flutter SDK and Rust toolchain installed on your system. You can check that your system is ready with the commands below. Note that all the Flutter subcomponents should be installed.

rustc --version
flutter doctor

You also need to have the CLI tool for Rinf ready.

cargo install rinf_cli

Signals sent between Dart and Rust are implemented using signal attributes. If you've modified the signal structs, run the following command to generate the corresponding Dart classes:

rinf gen

Now you can run and build this app just like any other Flutter projects.

flutter run

For detailed instructions on writing Rust and Flutter together, please refer to Rinf's documentation.

About

New pixel art editor.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages