GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sccheruku/flutter_rust_example: Sample app showing a flutter app with logic written in rust using flutter_rust_bridge

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
android
android
 
 
ios
ios
 
 
lib
lib
 
 
rust
rust
 
 
test
test
 
 
web
web
 
 
windows
windows
 
 
.gitignore
.gitignore
 
 
.metadata
.metadata
 
 
README.md
README.md
 
 
analysis_options.yaml
analysis_options.yaml
 
 
pubspec.lock
pubspec.lock
 
 
pubspec.yaml
pubspec.yaml
 
 

Repository files navigation

flutter_rust_example

This is a counter app build in flutter the implementation coming from rust. It uses dart:ffi library to call functions in rust, and uses the flutter_rust_bridge package.

References:

https://doc.rust-lang.org/std/sync/atomic/struct.AtomicU64.html http://cjycode.com/flutter_rust_bridge/tutorial_with_flutter.html https://github.com/Desdaemon/flutter_rust_bridge_template https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/with_flutter

Run the project

flutter run

Generate dart bindings

flutter_rust_bridge_codegen --rust-input rust/src/api.rs --dart-output lib/bridge_generated.dart

Youtube walkthrough

Tutorial

About

Sample app showing a flutter app with logic written in rust using flutter_rust_bridge

Topics

flutterflutter-rust-bridgerust

Resources

Readme
Activity

Stars

11 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.