Demonstrates how to use the flutter_unity_widget plugin with Unity3D ARKIT using the Unity Foundation Demo.
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
project and build it: Menu -> Flutter -> Export Androidandroid/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.flutter run
Open the unity
project and build it: Menu -> Flutter -> Export iOS
Be sure you use at least Unity version 2019.3 or up.
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
Select the Unity-iPhone/Data folder and change the Target Membership for Data folder to UnityFramework
flutter run