File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,11 @@ class UnityWidget extends StatefulWidget {
2424 this .borderRadius = BorderRadius .zero,
2525 this .layoutDirection,
2626 this .hideStatus = false ,
27- this .webUrl,
2827 });
2928
3029 ///Event fires when the unity player is created.
3130 final UnityCreatedCallback onUnityCreated;
3231
33- /// WebGL url source.
34- final String ? webUrl;
35-
3632 ///Event fires when the [UnityWidget] gets a message from unity.
3733 final UnityMessageCallback ? onUnityMessage;
3834
Original file line number Diff line number Diff line change @@ -28,15 +28,11 @@ class UnityWidget extends StatefulWidget {
2828 this .borderRadius = BorderRadius .zero,
2929 this .layoutDirection,
3030 this .hideStatus = false ,
31- this .webUrl,
3231 });
3332
3433 ///Event fires when the unity player is created.
3534 final UnityCreatedCallback onUnityCreated;
3635
37- /// WebGL url source.
38- final String ? webUrl;
39-
4036 ///Event fires when the [UnityWidget] gets a message from unity.
4137 final UnityMessageCallback ? onUnityMessage;
4238
@@ -116,7 +112,6 @@ class _UnityWidgetState extends State<UnityWidget> {
116112 }
117113
118114 return WebUnityWidgetView (
119- unitySrcUrl: widget.webUrl ?? '' ,
120115 onWebViewCreated: _onPlatformViewCreated,
121116 unityOptions: unityOptions,
122117 );
You can’t perform that action at this time.
0 commit comments