Use this for managing flutter unity project with large teams.
pub global activate flutter_unity_cli
To bootstrap flutter unity plugin project with setup to your flutter app, use this command.
Your folder should be like this before running the command from root. Also make sure you are in the same folder level as your flutter application.
root:
- <flutter app project>
$ fuw create <flutter app project>
Your folder should be like this
root:
- <flutter app project>
- flutter_unity_widget
Then add the dependency to your flutter app project
dependencies:
flutter:
sdk: flutter
flutter_unity_widget:
path: ../flutter_unity_widget
To upgrade the plugin to latest version, use
$ cd flutter_unity_widget
$ fuw update
To upgrade the CLI to latest version, use
$ fuw upgrade