After setting up FlutterUnityWidget in your Flutter Project, you can simply use UnityWidget by importing 'package:flutter_unity_widget/flutter_unity_widget.dart'. For details, refer to the example usage below.
After setting up UnityWidget, you can get UnityWidgetController from onUnityCreated callback. By calling postMessage method of UnityWidgetController, you can send message to Unity. For details, refer to the example usage below.