A new Flutter project.
This project is a starting point for a Flutter application that follows the simple app state management tutorial.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
The assets directory houses images, fonts, and any other files you want to
include with your application.
The assets/images directory contains resolution-aware
images.
This project generates localized messages based on arb files found in
the lib/src/localization directory.
To support additional languages, please visit the tutorial on Internationalizing Flutter apps
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, Rust toolchain, and Protobuf compiler 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
protoc --version
flutter doctor
You also need to have the CLI tool for Rinf ready.
cargo install rinf
Messages sent between Dart and Rust are implemented using Protobuf.
If you have newly cloned the project repository
or made changes to the .proto files in the ./messages directory,
run the following command:
rinf message
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.