Skip to content

Instantly share code, notes, and snippets.

@robertohuertasm
Created November 3, 2019 12:19
Show Gist options
  • Save robertohuertasm/fd029afe2f6d3485abe56e739aa581b9 to your computer and use it in GitHub Desktop.
Save robertohuertasm/fd029afe2f6d3485abe56e739aa581b9 to your computer and use it in GitHub Desktop.
rust_for_android_ios_flutter
# let's use the flutter folder
cd flutter
# create a plugin project, set its namespace and its name
flutter create --template=plugin --org com.robertohuertas rusty_flutter_lib
# now you'll have a folder called rusty_flutter_lib inside the flutter folder
# for convenience, we'll move everything to the parent directory (flutter)
# this last step is completely optional.
mv rusty_flutter_lib/{.,}* .
rm -rf rusty_flutter_lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment