AgoraIO-Extensions / AgoraIO-Extensions/Agora-Flutter-SDK

Undefined name 'platformViewRegistry'

オープン
#2,291 コメント 10 件 リアクション 4 件 担当者 1 名 @peilinok が担当を希望しています GitHub で見る
bug
主要言語
Dart
スター
795
フォーク
448
平均マージ
12時間 19分
マージ済み PR(30日)
14

説明

### Version of the agora_rtc_engine

6.5.x 6.3.x

### Platforms affected

- [ ] Android
- [ ] iOS
- [ ] macOS
- [ ] Windows
- [x] Web

### Steps to reproduce

https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/pull/2273

### Expected results

no error

### Actual results

from @arthurbcd

> The ui.platformViewRegistry (currently deprecated) will be removed on the next flutter stable release.
Which throws:
Error: Undefined name 'platformViewRegistry'.
The solution is to use dart:ui_web instead of dart:ui, both available in flutter.

### Code sample

Code sample

```dart
[Paste your code here]
```

### Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

### Logs

Logs

```console
[Paste your logs here]
```

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。