1. Unity Flutter Tutorial
  2. Unity Flutter
  3. Flutter Game Engine

Demonstrates how to use the flutter_unity_widget plugin with Unity3D ARKIT using the Unity Foundation Demo.

Flutter

Plus, Unity has a lot of built-in components similar to Flutter that one can use to easily layout the elements. The difference however is that when creating UI through the Unity Editor, you avoid the ever growing tree of UI elements and parameters unlike Flutter. Instead of building the app, go to the Unity menu and then export the Unity project with Flutter/Export Android (for Unity versions 2019.3 and up, which uses the new Unity as a Library export format), or Flutter/Export IOS menu. Plus, Unity has a lot of built-in components similar to Flutter that one can use to easily layout the elements. The difference however is that when creating UI through the Unity Editor, you avoid the ever growing tree of UI elements and parameters unlike Flutter. Flutter is a mobile app SDK to help developers and designers build modern mobile apps for iOS and Android. Flutter unity 3D widget for embedding unity in flutter. Now you can make awesome gamified features of your app in Unity and get it rendered in a Flutter app both in fullscreen and embeddable mode. Works great on Android, iPad OS and iOS.

Unity Flutter Tutorial

Unity Flutter

Run the sample on Android

Flutter

Unity Flutter

  1. Open the unity project and build it: Menu -> Flutter -> Export Android
  2. Copy android/UnityExport/libs/unity-classes.jar to android/unity-classes/unity-classes.jar and overwrite the existing file. You only need to do this each time you use a different Unity version.
  3. flutter run

Run the sample on iOS

Flutter Game Engine

  1. Open the unity project and build it: Menu -> Flutter -> Export iOS

    Be sure you use at least Unity version 2019.3 or up.

  2. open ios/Runner.xcworkspace (workspace!, not the project) in Xcode and add the exported project in the workspace root (with a right click in the Navigator, not on an item -> Add Files to “Runner” -> add the UnityExport/Unity-Iphone.xcodeproj file

  3. Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework

  4. flutter run