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

Undefined name 'platformViewRegistry'

Đang mở
#2,291 10 bình luận 4 reaction 1 người được giao Được @peilinok nhận Xem trên GitHub
bug
Ngôn ngữ chính
Dart
Star
795
Fork
448
Merge trung bình
12 giờ 19 phút
Pull request đã merge (30 ngày)
14

Mô tả

### 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]
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.