UnityWebWidget constructor

const UnityWebWidget({
  1. required String url,
  2. required void listenMessageFromUnity(
    1. String data
    ),
  3. required void onUnityLoaded(
    1. UnityWebController unityWebController
    ),
  4. Key? key,
})

Implementation

const UnityWebWidget({
  required this.url,
  required this.listenMessageFromUnity,
  required this.onUnityLoaded,
  Key? key,
}) : super(key: key);